mirror of https://github.com/sipwise/rtpengine.git
added new systemd service file for Centos 7pull/677/head
parent
63f3639f9d
commit
81b8f98318
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=NGCP RtpEngine - RTP Media Proxy
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
User=ngcp-rtpengine
|
||||
Group=daemon
|
||||
Environment=CFGFILE=/etc/rtpengine/rtpengine.conf
|
||||
EnvironmentFile=/etc/sysconfig/rtpengine
|
||||
PIDFile=/var/run/rtpengine.pid
|
||||
ExecStart=/usr/sbin/rtpengine --config-file=${CFGFILE} --interface=${INTERFACE} --listen-ng=${LISTEN_UDP} --log-facility=${LOG_FACILITY} --log-level=${LOG_LEVEL}
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in new issue