mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
systemd: mariadb@bootstrap - clear ExecStartPre and ExecStartPost
This is just to make sure no ExecStartPre/Post actions from the
multi-instance MariaDB service definition are executed
when a user attempts to start mariadb@bootstrap.
Fixes: 3723c70a30
This commit is contained in:
parent
873cc1e77a
commit
4c19227929
1 changed files with 5 additions and 0 deletions
|
|
@ -15,8 +15,13 @@ ConditionPathExists=
|
|||
Type=oneshot
|
||||
Restart=no
|
||||
|
||||
# Don't install or try to prepare for galera SST.
|
||||
ExecStartPre=
|
||||
|
||||
# Override the multi instance service for a bootstrap start instance
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/echo "Please use galera_new_cluster to start the mariadb service with --wsrep-new-cluster"
|
||||
ExecStart=/usr/bin/false
|
||||
|
||||
# This isn't a service meant to execute anything but a message
|
||||
ExecStartPost=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue