ngircd.service: Use "forking" service type

Don't run ngIRCd in forground mode but let it daemonize itself. This
enhances the log output of "systemctl status ngircd.service", because
now ngIRCd doesn't print out its PID and timestamp on each log message
which is redundant: it becomes logged by systemd/journald already.
This commit is contained in:
Alexander Barton 2013-01-23 00:41:02 +01:00
parent 508ca3044d
commit 3d49e8ac84
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ Description=Next Generation IRC Daemon
After=network.target
[Service]
# don't daemonize to simplify stuff
ExecStart=/usr/sbin/ngircd -n
Type=forking
ExecStart=/usr/sbin/ngircd
ExecReload=/bin/kill -HUP $MAINPID
[Install]