rtpengine.service : added new service file for Centos

added new systemd service file for Centos 7
pull/677/head
Yasin CANER 7 years ago committed by GitHub
parent 63f3639f9d
commit 81b8f98318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save