summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.ibm.com>2017-12-12 11:24:39 +1100
committerDaniel Black <daniel@mariadb.org>2020-09-22 15:37:44 +1000
commit4c19227929b0d86616337585fb95a4bb8fe0d4b2 (patch)
tree75ea7d81dc428794e0ee4f5727c381c425f9cd92
parent873cc1e77a734d1806b2cd0217042d1f9f19e5e7 (diff)
downloadmariadb-git-4c19227929b0d86616337585fb95a4bb8fe0d4b2.tar.gz
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: 3723c70a3045
-rw-r--r--support-files/use_galera_new_cluster.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/support-files/use_galera_new_cluster.conf b/support-files/use_galera_new_cluster.conf
index 90e0365ffd8..79d191094d4 100644
--- a/support-files/use_galera_new_cluster.conf
+++ b/support-files/use_galera_new_cluster.conf
@@ -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=