MDEV-8804: bootstrap command missing in debian init script

Add 'bootstrap' to debian init script.
This commit is contained in:
Nirbhay Choubey 2015-09-15 16:27:04 -04:00
parent 37ae601a87
commit 653aadcd59

View file

@ -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