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
mr9.1
Guillem Jover 5 years ago
parent 33eed81886
commit 8935b768a1

@ -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:

Loading…
Cancel
Save