diff options
author | 2019-09-09 17:42:10 +0800 | |
---|---|---|
committer | 2019-09-09 13:34:53 -0400 | |
commit | f2ae031440bdc3d9d44ace241dee915bacca7a75 (patch) | |
tree | 4cef342daf542221eb50815193eb602687b7d224 /recipes-connectivity/consul/consul_git.bb | |
parent | 46c6f29d0a4952cbb2dca204a49a6fa45fe2c936 (diff) | |
download | meta-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>
Diffstat (limited to 'recipes-connectivity/consul/consul_git.bb')
-rw-r--r-- | recipes-connectivity/consul/consul_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb index f3e64e9b..566fbc9c 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 |