| 123456789101112131415161718192021222324 |
- [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
|