Skip to content
Browse files

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.
  • Loading branch information...
1 parent 283fe7a commit f696796b60235b1668d4166e6936d480b796c15c @Philantrop Philantrop committed May 24, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 znc.service
View
5 znc.service
@@ -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

0 comments on commit f696796

Please sign in to comment.
Something went wrong with that request. Please try again.