1 # ngIRCd systemd service unit.
2 # See systemd(1), systemd.unit(5), systemd.service(5), systemd.exec(5).
5 Description=Next Generation IRC Daemon
6 Documentation=man:ngircd(8) man:ngircd.conf(5) https://ngircd.barton.de
8 Wants=anope.service atheme.service irc-services.service
10 Before=anope.service atheme.service irc-services.service
18 CapabilityBoundingSet=CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
19 MemoryDenyWriteExecute=yes
23 ProtectControlGroups=yes
25 ProtectKernelModules=yes
26 ProtectKernelTunables=yes
28 RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
31 RuntimeDirectoryMode=750
32 # Try to load "default files" from any Debian package variant to keep this
34 EnvironmentFile=-/etc/default/ngircd
35 EnvironmentFile=-/etc/default/ngircd-full
36 EnvironmentFile=-/etc/default/ngircd-full-dbg
37 # Start ngIRCd. Note: systemd doesn't allow to use $DAEMON here!
38 ExecStart=/usr/sbin/ngircd $PARAMS
39 ExecReload=/bin/kill -HUP $MAINPID
43 WantedBy=multi-user.target