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>
This commit is contained in:
Christopher Larson
2016-04-06 14:46:52 -07:00
committed by Joe MacDonald
parent ee61becc5b
commit d1a8f14547
@@ -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 #!