diff --git a/templates/410_process-ngcp.yaml.tt2 b/templates/410_process-ngcp.yaml.tt2 index 678bd93..8c2941f 100644 --- a/templates/410_process-ngcp.yaml.tt2 +++ b/templates/410_process-ngcp.yaml.tt2 @@ -120,7 +120,7 @@ process: # We have to use a truncated process name because that's the COMM limit # on Linux (15 characters). Real name: rtpengine-recording. rtpengine-recor: - running: {{if and [% is_rtp && rtpproxy.recording.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} + running: {{if and [% is_rtp && rtpengine.recording.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} telegraf: running: false diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 8e1457e..a045763 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -60,12 +60,12 @@ service: running: [% is_proxy && rateomat.enable == "yes" ? 'true' : 'false' %] ngcp-rtpengine-recording-daemon.service: - enabled: [% general.process_handler == 'none' && rtpproxy.recording.enable == "yes" ? 'true' : 'false' %] - running: {{if and [% is_rtp && rtpproxy.recording.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} + enabled: [% general.process_handler == 'none' && rtpengine.recording.enable == "yes" ? 'true' : 'false' %] + running: {{if and [% is_rtp && rtpengine.recording.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} ngcp-rtpengine-daemon.service: - enabled: [% general.process_handler == 'none' && rtpproxy.enable == "yes" ? 'true' : 'false' %] - running: {{if and [% is_rtp && rtpproxy.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} + enabled: [% general.process_handler == 'none' && rtpengine.enable == "yes" ? 'true' : 'false' %] + running: {{if and [% is_rtp && rtpengine.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} ngcp-sems.service: enabled: [% general.process_handler == 'none' && b2b.enable == "yes" && general.ngcp_type == 'spce' ? 'true' : 'false' %] diff --git a/templates/615_kernel-modules.yaml.tt2 b/templates/615_kernel-modules.yaml.tt2 index 3765c3f..7ee9242 100644 --- a/templates/615_kernel-modules.yaml.tt2 +++ b/templates/615_kernel-modules.yaml.tt2 @@ -10,7 +10,7 @@ command: exit-status: 0 stdout: [] stderr: [] -{{if and [% (rtpproxy.enable == "yes" && is_proxy) ? 1 : 0 %] .Vars.NODE_ACTIVE}} +{{if and [% (rtpengine.enable == "yes" && is_proxy) ? 1 : 0 %] .Vars.NODE_ACTIVE}} lsmod | grep -c xt_RTPENGINE: exit-status: 0