summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-09-15 16:27:04 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-09-15 16:27:04 -0400
commit653aadcd59f4ac94750d9ebf398d6e44029ebe3f (patch)
tree92244f633f20f3d567075a2443e253a913c54e12 /debian
parent37ae601a8766f37cdd919efc801133d2a8cfaf70 (diff)
downloadmariadb-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.init9
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