|
|
[Unit]
|
|
|
Description=NGCP RTP/media Proxy Daemon
|
|
|
After=network-online.target
|
|
|
After=remote-fs.target
|
|
|
Requires=network-online.target
|
|
|
|
|
|
[Service]
|
|
|
Type=notify
|
|
|
EnvironmentFile=/etc/default/ngcp-rtpengine-daemon
|
|
|
RuntimeDirectory=rtpengine
|
|
|
PIDFile=/run/rtpengine/ngcp-rtpengine-daemon.pid
|
|
|
User=rtpengine
|
|
|
Group=rtpengine
|
|
|
AmbientCapabilities=CAP_NET_ADMIN CAP_SYS_NICE
|
|
|
LimitNOFILE=150000
|
|
|
ExecStartPre=+/usr/sbin/ngcp-rtpengine-iptables-setup start
|
|
|
ExecStart=/usr/sbin/rtpengine -f -E --no-log-timestamps --pidfile /run/rtpengine/ngcp-rtpengine-daemon.pid --config-file /etc/rtpengine/rtpengine.conf
|
|
|
ExecStopPost=+/usr/sbin/ngcp-rtpengine-iptables-setup stop
|
|
|
|
|
|
[Install]
|
|
|
WantedBy=multi-user.target
|