diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-04-14 16:13:35 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-04-14 16:13:35 +0300 |
commit | ccaec18b3934ee384296b4597bdf462fac66c5a4 (patch) | |
tree | 167d2ec1374cb4812165958db6fe3bd43619157b /support-files/mariadb.service.in | |
parent | e40ed0e881690ed072c28c0f4080a3cfb83e5d73 (diff) | |
parent | 26f0cd8afcbdceff22223d4c521c3ce73ee09fda (diff) | |
download | mariadb-git-ccaec18b3934ee384296b4597bdf462fac66c5a4.tar.gz |
Merge 10.1 into 10.2
Diffstat (limited to 'support-files/mariadb.service.in')
-rw-r--r-- | support-files/mariadb.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/mariadb.service.in b/support-files/mariadb.service.in index 49d7c3efb74..1c79a0d8678 100644 --- a/support-files/mariadb.service.in +++ b/support-files/mariadb.service.in @@ -75,7 +75,7 @@ PermissionsStartOnly=true # Do not panic if galera_recovery script is not available. (MDEV-10538) ExecStartPre=/bin/sh -c "systemctl unset-environment _WSREP_START_POSITION" ExecStartPre=/bin/sh -c "[ ! -e @bindir@/galera_recovery ] && VAR= || \ - VAR=`@bindir@/galera_recovery`; [ $? -eq 0 ] \ + VAR=`cd @bindir@/..; @bindir@/galera_recovery`; [ $? -eq 0 ] \ && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1" # Needed to create system tables etc. |