turnserver.service.fc 564 B

123456789101112131415161718192021222324
  1. [Unit]
  2. Description=coturn
  3. Documentation=man:coturn(1) man:turnadmin(1) man:turnserver(1)
  4. After=syslog.target network.target
  5. [Service]
  6. User=turnserver
  7. Group=turnserver
  8. Type=notify
  9. EnvironmentFile=/etc/sysconfig/turnserver
  10. ExecStart=/usr/bin/turnserver --systemd -c /etc/turnserver/turnserver.conf $EXTRA_OPTIONS
  11. ExecStopPost=/usr/bin/rm -f /var/run/turnserver/turnserver.pid
  12. Restart=on-abort
  13. LimitCORE=infinity
  14. LimitNOFILE=999999
  15. LimitNPROC=60000
  16. LimitRTPRIO=infinity
  17. LimitRTTIME=7000000
  18. CPUSchedulingPolicy=other
  19. UMask=0007
  20. [Install]
  21. WantedBy=multi-user.target