summaryrefslogtreecommitdiffstats
path: root/support-files/use_galera_new_cluster.conf
diff options
context:
space:
mode:
Diffstat (limited to 'support-files/use_galera_new_cluster.conf')
-rw-r--r--support-files/use_galera_new_cluster.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/support-files/use_galera_new_cluster.conf b/support-files/use_galera_new_cluster.conf
new file mode 100644
index 00000000..79d19109
--- /dev/null
+++ b/support-files/use_galera_new_cluster.conf
@@ -0,0 +1,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=