mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
@ -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=''
|
||||||
|
Reference in New Issue
Block a user