aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2019-09-09 17:42:10 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-09-09 13:34:53 -0400
commitf2ae031440bdc3d9d44ace241dee915bacca7a75 (patch)
tree4cef342daf542221eb50815193eb602687b7d224
parent46c6f29d0a4952cbb2dca204a49a6fa45fe2c936 (diff)
downloadmeta-cloud-services-f2ae031440bdc3d9d44ace241dee915bacca7a75.tar.gz
meta-cloud-services-f2ae031440bdc3d9d44ace241dee915bacca7a75.tar.bz2
meta-cloud-services-f2ae031440bdc3d9d44ace241dee915bacca7a75.zip
consul: Not automatically start system service on boot
The systemd service needs to be tuned according to various use cases and cannot be able to always start successfully for example when there is no network interface named br0 by default. Thus the default configuration is mainly used as an example. Let's not automatically start it on boot. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-connectivity/consul/consul_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb
index f3e64e9..566fbc9 100644
--- a/recipes-connectivity/consul/consul_git.bb
+++ b/recipes-connectivity/consul/consul_git.bb
@@ -25,7 +25,7 @@ inherit systemd go
COMPATIBLE_HOST_mipsarch = "null"
SYSTEMD_SERVICE_${PN} = "consul.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_AUTO_ENABLE_${PN} = "disable"
do_install_append() {
install -d ${D}/${systemd_unitdir}/system