From 5683f6a6a6b9e3282faf64c882cb3c5b2b0d6eb1 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 13 Jul 2021 17:52:14 +0200 Subject: [PATCH] TT#129451 Do not take into account process_handler for ngcp-rate-o-mat We were checking whether the general.process_handler is set to 'none' to take into account whether the service had been enabled or not, because otherwise the service would be managed by the HA system. But we have switched to run ngcp-rate-o-mat on both nodes now. Fixes: commit 0e8d7405fa028e0f48b492b2d98ffd5b76423097 Change-Id: I099bb005a88c72c743021b45b2052df7e9ee49c9 --- templates/510_init-daemons-ngcp.yaml.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 2ce9358..6449414 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -56,7 +56,7 @@ service: running: [% is_mgmt && www_admin.enable == 'yes' ? 'true' : 'false' %] ngcp-rate-o-mat.service: - enabled: [% general.process_handler == 'none' && rateomat.enable == "yes" ? 'true' : 'false' %] + enabled: [% rateomat.enable == "yes" ? 'true' : 'false' %] running: [% is_proxy && rateomat.enable == "yes" ? 'true' : 'false' %] ngcp-rtpengine-recording-daemon.service: