1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 01:40:27 +00:00
ngircd/contrib/ngircd.service

28 lines
671 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Next Generation IRC Daemon
Documentation=man:ngircd(8) man:ngircd.conf(5) https://ngircd.barton.de
After=network.target
[Service]
Type=forking
2015-08-14 17:55:32 +00:00
User=irc
Group=irc
CapabilityBoundingSet=CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
2015-08-14 17:55:32 +00:00
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
RestrictAddressFamilies=AF_INET AF_INET6
2015-08-14 17:55:32 +00:00
RuntimeDirectory=ircd
RuntimeDirectoryMode=750
EnvironmentFile=-/etc/default/ngircd
EnvironmentFile=-/etc/default/ngircd-full
EnvironmentFile=-/etc/default/ngircd-full-dbg
ExecStart=/usr/sbin/ngircd $PARAMS
ExecReload=/bin/kill -HUP $MAINPID
2015-08-14 17:55:32 +00:00
Restart=on-failure
[Install]
WantedBy=multi-user.target