From 8d23c172293afd5181efe3e75d114dbe912006fd Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 16 Jan 2025 08:41:03 -0400 Subject: [PATCH] MT#55283 el: don't fork to background Reported in #1896 Change-Id: I58d09ef930c8fa55efa5592ff746a65270dea68b (cherry picked from commit aca2433bbd28b20a54e4415ef1d303e086573b52) --- el/rtpengine.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/el/rtpengine.service b/el/rtpengine.service index 958021e802..ab48db88f6 100644 --- a/el/rtpengine.service +++ b/el/rtpengine.service @@ -3,7 +3,7 @@ Description=NGCP RTP/media Proxy Daemon After=network-online.target [Service] -Type=forking +Type=notify Environment=CFG_FILE=/etc/rtpengine/rtpengine.conf EnvironmentFile=/etc/sysconfig/rtpengine User=ngcp-rtpengine @@ -15,6 +15,7 @@ RuntimeDirectory=rtpengine PIDFile=/run/rtpengine/rtpengine.pid ExecStartPre=+/usr/sbin/ngcp-rtpengine-iptables-setup start ExecStart=/usr/bin/rtpengine --config-file=${CFG_FILE} --pidfile=${PID_FILE} +ExecStart=/usr/bin/rtpengine --config-file=${CFG_FILE} --pidfile=${PID_FILE} -f ExecStopPost=+/usr/sbin/ngcp-rtpengine-iptables-setup stop RestartSec=3s TimeoutSec=15s