From 8935b768a1b0a6c0802480924d4de8a62383b027 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 25 Sep 2020 22:02:45 +0200 Subject: [PATCH] TT#95100 Fix rtpengine-recording process check We need to truncate the process name to 15 characters, which is the Linux kernel COMM process field, otherwise the process check will not match. Change-Id: Iaad2ae99876970cc779b6b915d9eccc23fcdf46d --- templates/410_process-ngcp.yaml.tt2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/410_process-ngcp.yaml.tt2 b/templates/410_process-ngcp.yaml.tt2 index f528032..00d6a25 100644 --- a/templates/410_process-ngcp.yaml.tt2 +++ b/templates/410_process-ngcp.yaml.tt2 @@ -89,7 +89,9 @@ process: rtpengine: running: {{if and [% is_rtp ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}} - rtpengine-recording: + # 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}} telegraf: