summaryrefslogtreecommitdiff
path: root/scripts/galera_new_cluster.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/galera_new_cluster.sh')
-rwxr-xr-xscripts/galera_new_cluster.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/galera_new_cluster.sh b/scripts/galera_new_cluster.sh
index e0763ed516a..ac9dcf42102 100755
--- a/scripts/galera_new_cluster.sh
+++ b/scripts/galera_new_cluster.sh
@@ -22,7 +22,7 @@ EOF
fi
systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster' && \
- systemctl start ${1:-mariadb}
+ systemctl restart ${1:-mariadb}
extcode=$?