Skip to content

Commit

Permalink
MT#55283 el: don't fork to background
Browse files Browse the repository at this point in the history
Reported in #1896

Change-Id: I58d09ef930c8fa55efa5592ff746a65270dea68b
(cherry picked from commit aca2433)
  • Loading branch information
rfuchs committed Jan 16, 2025
1 parent bd07036 commit 8d23c17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion el/rtpengine.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8d23c17

Please sign in to comment.