diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-04-06 14:46:52 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-04-29 11:57:47 -0400 |
commit | dc0bc56d4a750ab287771980bf6c96e69dd98aa4 (patch) | |
tree | af541e0b5f37ad28f596a842c26d51e6be1f60dd /meta-networking | |
parent | 37c8e1f9909610be7a80074e379ef5c8290bc206 (diff) | |
download | meta-openembedded-dc0bc56d4a750ab287771980bf6c96e69dd98aa4.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.bb | 4 |
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 d4c0f861f..236284df1 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() { | |||
45 | rm -r ${D}/${localstatedir}/run | 45 | rm -r ${D}/${localstatedir}/run |
46 | } | 46 | } |
47 | 47 | ||
48 | # The systemd service is disabled by default, as the service will fail to | ||
49 | # start without /etc/ctdb/nodes. If the user supplies this, they can re-enable | ||
50 | # the service. | ||
51 | SYSTEMD_AUTO_ENABLE = "disable" | ||
48 | SYSTEMD_SERVICE_${PN} = "ctdb.service" | 52 | SYSTEMD_SERVICE_${PN} = "ctdb.service" |
49 | 53 | ||
50 | # onnode is a shell script with bashisms and bash #! | 54 | # onnode is a shell script with bashisms and bash #! |