ngircd.service 447 B

12345678910111213141516171819202122
  1. [Unit]
  2. Description=Next Generation IRC Daemon
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. User=irc
  7. Group=irc
  8. CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
  9. PrivateTmp=yes
  10. PrivateDevices=yes
  11. ProtectSystem=full
  12. ProtectHome=true
  13. NoNewPrivileges=true
  14. RuntimeDirectory=ircd
  15. RuntimeDirectoryMode=750
  16. ExecStart=/usr/sbin/ngircd
  17. ExecReload=/bin/kill -HUP $MAINPID
  18. Restart=on-failure
  19. [Install]
  20. WantedBy=multi-user.target