From f2b710e5a4135e5d338972f8b502b5d98c3e4d66 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 14 Feb 2019 16:18:33 +0100 Subject: [PATCH] TT#49150 Namespace NGCP specific programs/services with ngcp- Change-Id: Idf7134e92a689ef6b41af9acd2d1a6766274ad78 --- templates/411_process-ngcp-pro.yaml.tt2 | 6 +++--- templates/510_init-daemons-ngcp.yaml.tt2 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/411_process-ngcp-pro.yaml.tt2 b/templates/411_process-ngcp-pro.yaml.tt2 index c4bec43..7f0bac5 100644 --- a/templates/411_process-ngcp-pro.yaml.tt2 +++ b/templates/411_process-ngcp-pro.yaml.tt2 @@ -36,8 +36,8 @@ process: ngcp-snmp-agent: running: true + ngcp-voisniff: + running: [% (is_proxy || is_lb || is_rtp) && node_state == 'active' ? 'true' : 'false' %] + snmpd: running: true - - voisniff-ng: - running: [% (is_proxy || is_lb || is_rtp) && node_state == 'active' ? 'true' : 'false' %] diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 18e51f5..53088b5 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -45,7 +45,7 @@ service: enabled: [% general.process_handler == 'none' && kamailio.proxy.start == "yes" ? 'true' : 'false' %] running: [% is_proxy && node_state == 'active' && kamailio.proxy.start == "yes" ? 'true' : 'false' %] - mediator.service: + ngcp-mediator.service: enabled: [% general.process_handler == 'none' && mediator.enable == 'yes' ? 'true' : 'false' %] running: [% is_proxy && node_state == 'active' && mediator.enable == 'yes' ? 'true' : 'false' %] @@ -97,7 +97,7 @@ service: enabled: false running: [% is_proxy && node_state == 'active' && pbx.enable == "yes" ? 'true' : 'false' %] - voisniff-ng.service: + ngcp-voisniff.service: enabled: false running: [% (is_proxy || is_lb || is_rtp) && node_state == 'active' && voisniff.daemon.start == 'yes' ? 'true' : 'false' %]