Stoping service before bootstrap

This commit is contained in:
Philippe Caseiro 2018-05-09 17:01:22 +02:00
parent 35e941bf96
commit 3102fb5fdb

View File

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