1
0
mirror of https://github.com/coturn/coturn.git synced 2025-11-02 07:50:59 +01:00
coturn/examples/etc/coturn.service
Paul Menzel 801832e94f Replace coTURN by Coturn
The official spelling of *Coturn* seems to be just with a capital
starting letter, replace all occurrences of *coTURN* with the command
below.

    git grep -l coTURN | xargs sed -i 's/coTURN/Coturn/g'
2020-03-30 19:28:28 +02:00

25 lines
688 B
Desktop File

[Unit]
Description=Coturn STUN/TURN Server
Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
After=network.target
After=network-online.target
After=remote-fs.target
Wants=network-online.target
[Service]
User=turnserver
Group=turnserver
Type=forking
RuntimeDirectory=turnserver
PIDFile=/run/turnserver/turnserver.pid
ExecStart=/usr/bin/turnserver --daemon -c /etc/turnserver.conf --pidfile /run/turnserver/turnserver.pid
#FixMe: turnserver exit faster than it is finshing the setup and ready for handling the connection.
ExecStartPost=/bin/sleep 2
Restart=on-failure
InaccessibleDirectories=/home
PrivateTmp=yes
[Install]
WantedBy=multi-user.target
Alias=turnserver.service