1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 09:50:29 +00:00
ngircd/contrib/ngircd.service

23 lines
447 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Next Generation IRC Daemon
After=network.target
[Service]
Type=forking
2015-08-14 17:55:32 +00:00
User=irc
Group=irc
CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
RuntimeDirectory=ircd
RuntimeDirectoryMode=750
ExecStart=/usr/sbin/ngircd
ExecReload=/bin/kill -HUP $MAINPID
2015-08-14 17:55:32 +00:00
Restart=on-failure
[Install]
WantedBy=multi-user.target