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