2015-10-15 15:38:45 +02:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2017-12-12 01:24:39 +01:00
|
|
|
# Don't install or try to prepare for galera SST.
|
|
|
|
ExecStartPre=
|
|
|
|
|
2015-10-15 15:38:45 +02:00
|
|
|
# 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
|
|
|
|
|
2017-12-12 01:24:39 +01:00
|
|
|
# This isn't a service meant to execute anything but a message
|
|
|
|
ExecStartPost=
|