mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 18:30:27 +00:00
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:
parent
508ca3044d
commit
3d49e8ac84
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user