Module: ngircd.git Branch: master Commit: 3d49e8ac84b49be07565bc1a19759184b4006317 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=3d49e...
Author: Alexander Barton alex@barton.de Date: Wed Jan 23 00:41:02 2013 +0100
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.
---
contrib/ngircd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/ngircd.service b/contrib/ngircd.service index b5bab06..b71eef2 100644 --- a/contrib/ngircd.service +++ b/contrib/ngircd.service @@ -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]
ngircd-commits@lists.barton.de