MT#55283 el: don't fork to background

Reported in 

Change-Id: I58d09ef930c8fa55efa5592ff746a65270dea68b
rfuchs/gh1896
Richard Fuchs 4 months ago
parent dd04af1163
commit aca2433bbd

@ -3,7 +3,7 @@ Description=NGCP RTP/media Proxy Daemon
After=network-online.target After=network-online.target
[Service] [Service]
Type=forking Type=notify
Environment=CFG_FILE=/etc/rtpengine/rtpengine.conf Environment=CFG_FILE=/etc/rtpengine/rtpengine.conf
EnvironmentFile=/etc/sysconfig/rtpengine EnvironmentFile=/etc/sysconfig/rtpengine
User=ngcp-rtpengine User=ngcp-rtpengine
@ -13,7 +13,7 @@ CapabilityBoundingSet=CAP_NET_ADMIN CAP_SYS_NICE
LimitNOFILE=150000 LimitNOFILE=150000
RuntimeDirectory=rtpengine RuntimeDirectory=rtpengine
PIDFile=/run/rtpengine/rtpengine.pid 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 RestartSec=3s
TimeoutSec=15s TimeoutSec=15s
Restart=on-failure Restart=on-failure

Loading…
Cancel
Save