diff --git a/templates/410_process-ngcp.yaml.tt2 b/templates/410_process-ngcp.yaml.tt2 index 10cacb7..9eb9b5f 100644 --- a/templates/410_process-ngcp.yaml.tt2 +++ b/templates/410_process-ngcp.yaml.tt2 @@ -111,5 +111,8 @@ process: rtpengine: running: [% is_rtp && node_state == 'active' ? 'true' : 'false' %] + rtpengine-recording: + running: [% is_rtp && node_state == 'active' && rtpproxy.recording.enable == "yes" ? 'true' : 'false' %] + telegraf: running: true diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index bdfbe32..5a3d407 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -106,6 +106,12 @@ service: enabled: [% general.process_handler == 'none' ? 'true' : 'false' %] running: [% is_proxy && node_state == 'active' ? 'true' : 'false' %] [% END -%] +[% IF rtpproxy.recording.enable == "yes" -%] + + ngcp-rtpengine-recording-daemon.service: + enabled: [% general.process_handler == 'none' ? 'true' : 'false' %] + running: [% is_rtp && node_state == 'active' ? 'true' : 'false' %] +[% END -%] [% IF rtpproxy.enable == "yes" -%] ngcp-rtpengine-daemon.service: