2012-08-18 15:51:28 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Next Generation IRC Daemon
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2013-01-23 00:41:02 +01:00
|
|
|
Type=forking
|
2015-08-14 19:55:32 +02: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
|
2013-01-23 00:41:02 +01:00
|
|
|
ExecStart=/usr/sbin/ngircd
|
2012-08-18 15:51:28 +02:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2015-08-14 19:55:32 +02:00
|
|
|
Restart=on-failure
|
2012-08-18 15:51:28 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|