summaryrefslogtreecommitdiff
path: root/support-files/mariadb.service.in
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-04-14 16:13:35 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-04-14 16:13:35 +0300
commitccaec18b3934ee384296b4597bdf462fac66c5a4 (patch)
tree167d2ec1374cb4812165958db6fe3bd43619157b /support-files/mariadb.service.in
parente40ed0e881690ed072c28c0f4080a3cfb83e5d73 (diff)
parent26f0cd8afcbdceff22223d4c521c3ce73ee09fda (diff)
downloadmariadb-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.in2
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.