[oe-commits] [meta-openembedded] 09/33: ctdb: disable the service by default
git at git.openembedded.org
git at git.openembedded.org
Tue Apr 12 09:49:48 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit ea4a22b9b21e1b90117b1bd26b86925219efab3d
Author: Christopher Larson <chris_larson at mentor.com>
AuthorDate: Wed Apr 6 14:46:52 2016 -0700
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 at mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 4 ++++
1 file changed, 4 insertions(+)
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 232546c..5d75784 100644
--- a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
+++ b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
@@ -44,6 +44,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 #!
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list