mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
25 lines
No EOL
630 B
Desktop File
25 lines
No EOL
630 B
Desktop File
[Unit]
|
|
Description=Coturn
|
|
Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=turnserver
|
|
Group=turnserver
|
|
RuntimeDirectory=turnserver
|
|
RuntimeDirectoryMode=0750
|
|
EnvironmentFile=/etc/default/coturn
|
|
PIDFile=/run/turnserver/turnserver.pid
|
|
ExecStart=/usr/bin/turnserver --daemon --pidfile /run/turnserver/turnserver.pid --syslog -c /etc/turnserver.conf $EXTRA_OPTIONS
|
|
Restart=on-abort
|
|
LimitCORE=infinity
|
|
LimitNOFILE=1000000
|
|
LimitNPROC=60000
|
|
LimitRTPRIO=infinity
|
|
LimitRTTIME=7000000
|
|
CPUSchedulingPolicy=other
|
|
UMask=0007
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |