znc.service: Improve description, don't fork on your own

The description gets displayed when the service is started and would
output something like "Starting An advanced IRC bouncer". There's
potentially more than one, though, and, thus, the name should at least
be included.

Type=forking should be used as a last resort only. systemd does the
forking itself and, thus, ZNC should be started with the -f switch.
This commit is contained in:
Wulf C. Krueger
2012-05-24 23:41:47 +02:00
parent 283fe7a72b
commit f696796b60
+2 -3
View File
@@ -1,11 +1,10 @@
[Unit]
Description=An advanced IRC bouncer
Description=ZNC, an advanced IRC bouncer
After=network.target
[Service]
ExecStart=/usr/bin/znc
ExecStart=/usr/bin/znc -f
User=znc
Type=forking
[Install]
WantedBy=multi-user.target