diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-09-15 16:27:04 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-09-15 16:27:04 -0400 |
commit | 653aadcd59f4ac94750d9ebf398d6e44029ebe3f (patch) | |
tree | 92244f633f20f3d567075a2443e253a913c54e12 /debian | |
parent | 37ae601a8766f37cdd919efc801133d2a8cfaf70 (diff) | |
download | mariadb-git-653aadcd59f4ac94750d9ebf398d6e44029ebe3f.tar.gz |
MDEV-8804: bootstrap command missing in debian init script
Add 'bootstrap' to debian init script.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/mariadb-galera-server-5.5.mysql.init | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/mariadb-galera-server-5.5.mysql.init b/debian/mariadb-galera-server-5.5.mysql.init index 07edda2f079..d604075b9e4 100644 --- a/debian/mariadb-galera-server-5.5.mysql.init +++ b/debian/mariadb-galera-server-5.5.mysql.init @@ -179,8 +179,15 @@ case "${1:-''}" in fi ;; + 'bootstrap') + # Bootstrap the cluster, start the first node + # that initiates the cluster + log_daemon_msg "Bootstrapping the cluster" "mysqld" + $SELF start "${@:2}" --wsrep-new-cluster + ;; + *) - echo "Usage: $SELF start|stop|restart|reload|force-reload|status" + echo "Usage: $SELF start|stop|restart|reload|force-reload|status|bootstrap" exit 1 ;; esac |