mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
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:
committed by
Joe MacDonald
parent
37c8e1f990
commit
dc0bc56d4a
@@ -45,6 +45,10 @@ do_install_append() {
|
|||||||
rm -r ${D}/${localstatedir}/run
|
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"
|
SYSTEMD_SERVICE_${PN} = "ctdb.service"
|
||||||
|
|
||||||
# onnode is a shell script with bashisms and bash #!
|
# onnode is a shell script with bashisms and bash #!
|
||||||
|
|||||||
Reference in New Issue
Block a user