mirror of https://github.com/coturn/coturn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
601 B
25 lines
601 B
[Unit]
|
|
Description=coturn
|
|
Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
User=turnserver
|
|
Group=turnserver
|
|
Type=forking
|
|
EnvironmentFile=/etc/sysconfig/turnserver
|
|
PIDFile=/var/run/turnserver/turnserver.pid
|
|
ExecStart=/usr/bin/turnserver -o -c /etc/turnserver/turnserver.conf $EXTRA_OPTIONS
|
|
ExecStopPost=/usr/bin/rm -f /var/run/turnserver/turnserver.pid
|
|
Restart=on-abort
|
|
|
|
LimitCORE=infinity
|
|
LimitNOFILE=999999
|
|
LimitNPROC=60000
|
|
LimitRTPRIO=infinity
|
|
LimitRTTIME=7000000
|
|
CPUSchedulingPolicy=other
|
|
UMask=0007
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|