aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-04-06 14:46:52 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2016-04-20 15:10:45 -0400
commitd1a8f14547b7f87c7a390072a562356415060f0e (patch)
treea54a013ff25a3a4eb9685f7c673145ff20971666 /meta-networking
parentee61becc5bea1acee847c25243ad5ac59c6f3143 (diff)
downloadmeta-openembedded-contrib-d1a8f14547b7f87c7a390072a562356415060f0e.tar.gz
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 <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb4
1 files changed, 4 insertions, 0 deletions
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 #!