mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
MDEV-8804: bootstrap command missing in debian init script
Add 'bootstrap' to debian init script.
This commit is contained in:
parent
37ae601a87
commit
653aadcd59
1 changed files with 8 additions and 1 deletions
9
debian/mariadb-galera-server-5.5.mysql.init
vendored
9
debian/mariadb-galera-server-5.5.mysql.init
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue