Commit 653aadcd authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV-8804: bootstrap command missing in debian init script

Add 'bootstrap' to debian init script.
parent 37ae601a
...@@ -179,8 +179,15 @@ case "${1:-''}" in ...@@ -179,8 +179,15 @@ case "${1:-''}" in
fi 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 exit 1
;; ;;
esac esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment