Stoping service before bootstrap
This commit is contained in:
parent
35e941bf96
commit
3102fb5fdb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue