Skip to content

Commit

Permalink
MDEV-19161: Let galera_new_cluster use "restart" instead of "start"
Browse files Browse the repository at this point in the history
Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
  • Loading branch information
hholzgra authored and Jan Lindström committed May 12, 2022
1 parent 66d93a8 commit 480323f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/galera_new_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EOF
fi

systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster' && \
systemctl start ${1:-mariadb}
systemctl restart ${1:-mariadb}

extcode=$?

Expand Down

0 comments on commit 480323f

Please sign in to comment.