9460cbb
[Unit]
9460cbb
Description=coturn
9460cbb
Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
9460cbb
After=syslog.target
9460cbb
After=network.target
9460cbb
9460cbb
[Service]
9460cbb
User=coturn
9460cbb
Group=coturn
c777ad7
Type=notify
c777ad7
ExecStart=/usr/bin/turnserver -c /etc/coturn/turnserver.conf --pidfile /run/coturn/turnserver.pid --no-stdout-log
9460cbb
Restart=on-abort
51f9092
ExecReload=/bin/kill -HUP $MAINPID
9460cbb
9460cbb
LimitCORE=infinity
9460cbb
LimitNOFILE=999999
9460cbb
LimitNPROC=60000
9460cbb
LimitRTPRIO=infinity
9460cbb
LimitRTTIME=7000000
9460cbb
CPUSchedulingPolicy=other
9460cbb
UMask=0007
9460cbb
e34d651
# Only required to bind coturn to privileged ports (ports < 1024),
e34d651
# e.g. port 80 or 443 to handle restrictive corporate firewalls.
e34d651
AmbientCapabilities=CAP_NET_BIND_SERVICE
e34d651
9460cbb
[Install]
9460cbb
WantedBy=multi-user.target