mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
4c19227929
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
27 lines
676 B
Text
27 lines
676 B
Text
#
|
|
# Install as /etc/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf
|
|
#
|
|
# MariaDB uses /usr/bin/galera_new_cluster
|
|
#
|
|
# This is here to help guide people that may have used Percona mysql@bootstrap
|
|
# to the correct implementation.
|
|
|
|
[Unit]
|
|
|
|
ConditionPathExists=
|
|
|
|
[Service]
|
|
|
|
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=
|