summaryrefslogtreecommitdiffstats
path: root/support-files/use_galera_new_cluster.conf
blob: 79d191094d4df152449237cfe50728bad94b976d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# 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=