Browse Source

MT#55283 el: don't fork to background

Reported in #1896

Change-Id: I58d09ef930c8fa55efa5592ff746a65270dea68b
(cherry picked from commit aca2433bbd)
(cherry picked from commit 8d23c17229)
mr11.5.1
Richard Fuchs 11 months ago
parent
commit
1b3f3a6284
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      el/rtpengine.service

+ 2
- 1
el/rtpengine.service View File

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


Loading…
Cancel
Save