From: Alexander Barton Date: Tue, 22 Jan 2013 23:41:02 +0000 (+0100) Subject: ngircd.service: Use "forking" service type X-Git-Tag: rel-21-rc1~156 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=3d49e8ac84b49be07565bc1a19759184b4006317 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. --- diff --git a/contrib/ngircd.service b/contrib/ngircd.service index b5bab060..b71eef2b 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]