From d1a8f14547b7f87c7a390072a562356415060f0e Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 6 Apr 2016 14:46:52 -0700 Subject: ctdb: disable the service by default The systemd service is disabled by default, as the service will fail to start without /etc/ctdb/nodes. If the user supplies this, they can re-enable the service. Signed-off-by: Christopher Larson Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb index d4c0f861f8..236284df17 100644 --- a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +++ b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb @@ -45,6 +45,10 @@ do_install_append() { rm -r ${D}/${localstatedir}/run } +# The systemd service is disabled by default, as the service will fail to +# start without /etc/ctdb/nodes. If the user supplies this, they can re-enable +# the service. +SYSTEMD_AUTO_ENABLE = "disable" SYSTEMD_SERVICE_${PN} = "ctdb.service" # onnode is a shell script with bashisms and bash #! -- cgit 1.2.3-korg