Commit a5744074 authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV-9007: Bootstrap does not work in CentOS start script

Some modifications in galera_new_cluster :

* Do not use absolute path for systemctl
* Fix parameter substitution syntax
parent d8ecc2a0
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
VERSION="@VERSION@@MYSQL_SERVER_SUFFIX@" VERSION="@VERSION@@MYSQL_SERVER_SUFFIX@"
COMPILATION_COMMENT="@COMPILATION_COMMENT@" COMPILATION_COMMENT="@COMPILATION_COMMENT@"
/usr/bin/systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster' && \ systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster' && \
/usr/bin/systemctl start {1:-mariadb@service} systemctl start ${1:-mariadb}
/usr/bin/systemctl set-environment _WSREP_NEW_CLUSTER='' systemctl set-environment _WSREP_NEW_CLUSTER=''
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment