Stoping service before bootstrap

This commit is contained in:
Philippe Caseiro 2018-05-09 17:01:22 +02:00
parent 35e941bf96
commit 3102fb5fdb
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,11 @@ if [[ ${db} == "oui" ]]
then then
if [[ ${cluster} == "oui" ]] if [[ ${cluster} == "oui" ]]
then then
[[ ${role} == "Leader" ]] && galera_new_cluster if [[ ${role} == "Leader" ]]
then
service mariadb stop
galera_new_cluster
fi
fi fi
fi fi