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)
(cherry picked from commit a753771)
  • Loading branch information
rfuchs committed Jan 16, 2025
1 parent 905a197 commit 9669665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 @@ -13,7 +13,7 @@ CapabilityBoundingSet=CAP_NET_ADMIN CAP_SYS_NICE
LimitNOFILE=150000
RuntimeDirectory=rtpengine
PIDFile=/run/rtpengine/rtpengine.pid
ExecStart=/usr/bin/rtpengine --config-file=${CFG_FILE} --pidfile=${PID_FILE}
ExecStart=/usr/bin/rtpengine --config-file=${CFG_FILE} --pidfile=${PID_FILE} -f
RestartSec=3s
TimeoutSec=15s
Restart=on-failure
Expand Down

0 comments on commit 9669665

Please sign in to comment.