From a0a3cf8553b125d2288820e6d2f9dc188fb54481 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 30 Dec 2022 13:29:46 +0100 Subject: [PATCH] MT#56292 Fix expected ngcpcfg-api service state Change-Id: Id3dc4a06b009e0f73a62b2faa7159a37cfa6f2b6 --- templates/510_init-daemons-ngcp.yaml.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 97d93e3..e8ba322 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -113,8 +113,8 @@ service: running: {{if and [% (is_proxy || is_li) && voisniff.daemon.start == 'yes' ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} ngcpcfg-api.service: - enabled: false - running: false + enabled: [% is_mgmt && bootenv.ngcpcfg_api.enable == "yes" ? 'true' : 'false' %] + running: [% is_mgmt && bootenv.ngcpcfg_api.enable == "yes" ? 'true' : 'false' %] ngcp-faxserver.service: enabled: false