From: Jackie Huang Date: Fri, 24 Apr 2020 07:29:23 +0000 (+0800) Subject: stx-config: enable the services by default X-Git-Tag: bronze-rc0~76 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f9713e7f1933971f7388d42535a9ffafa77273a6;p=pti%2Frtp.git stx-config: enable the services by default Set correct systemd variables to enable the services Issue-ID: INF-29 Signed-off-by: Jackie Huang Change-Id: Iea55ec66b7ec305405d8ca58be7a7be73e642c44 --- diff --git a/meta-stx/recipes-core/stx-config/config-gate.inc b/meta-stx/recipes-core/stx-config/config-gate.inc index ca412c4..e4cf2eb 100644 --- a/meta-stx/recipes-core/stx-config/config-gate.inc +++ b/meta-stx/recipes-core/stx-config/config-gate.inc @@ -34,3 +34,13 @@ FILES_config-gate = " \ ${sbindir}/wait_for_config_init.sh \ ${systemd_system_unitdir}/config.service \ " + +SYSTEMD_PACKAGES += "\ + config-gate \ + config-gate-worker \ + " +SYSTEMD_SERVICE_config-gate = "config.service" +SYSTEMD_SERVICE_config-gate-worker = "worker-config-gate.service" + +SYSTEMD_AUTO_ENABLE_config-gate = "enable" +SYSTEMD_AUTO_ENABLE_config-gate-worker = "enable"