Skip to content

Commit

Permalink
znc.service: Improve description, don't fork on your own
Browse files Browse the repository at this point in the history
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
Philantrop committed Jun 2, 2012
1 parent 283fe7a commit f696796
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 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.