Add "Documentation" variables to systemd configuration files
[ngircd-alex.git] / contrib / ngircd.service
1 [Unit]
2 Description=Next Generation IRC Daemon
3 Documentation=man:ngircd(8) man:ngircd.conf(5)
4 After=network.target
5
6 [Service]
7 Type=forking
8 User=irc
9 Group=irc
10 CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
11 PrivateTmp=yes
12 PrivateDevices=yes
13 ProtectSystem=full
14 ProtectHome=true
15 NoNewPrivileges=true
16 RuntimeDirectory=ircd
17 RuntimeDirectoryMode=750
18 ExecStart=/usr/sbin/ngircd
19 ExecReload=/bin/kill -HUP $MAINPID
20 Restart=on-failure
21
22 [Install]
23 WantedBy=multi-user.target