diff options
author | He Zhe <zhe.he@windriver.com> | 2019-09-09 17:42:10 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-09-09 13:34:53 -0400 |
commit | f2ae031440bdc3d9d44ace241dee915bacca7a75 (patch) | |
tree | 4cef342daf542221eb50815193eb602687b7d224 /recipes-connectivity | |
parent | 46c6f29d0a4952cbb2dca204a49a6fa45fe2c936 (diff) | |
download | meta-cloud-services-f2ae031440bdc3d9d44ace241dee915bacca7a75.tar.gz |
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')
-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 f3e64e9..566fbc9 100644 --- a/recipes-connectivity/consul/consul_git.bb +++ b/recipes-connectivity/consul/consul_git.bb | |||
@@ -25,7 +25,7 @@ inherit systemd go | |||
25 | COMPATIBLE_HOST_mipsarch = "null" | 25 | COMPATIBLE_HOST_mipsarch = "null" |
26 | 26 | ||
27 | SYSTEMD_SERVICE_${PN} = "consul.service" | 27 | SYSTEMD_SERVICE_${PN} = "consul.service" |
28 | SYSTEMD_AUTO_ENABLE_${PN} = "enable" | 28 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" |
29 | 29 | ||
30 | do_install_append() { | 30 | do_install_append() { |
31 | install -d ${D}/${systemd_unitdir}/system | 31 | install -d ${D}/${systemd_unitdir}/system |