mirror of
https://github.com/osmarks/ngircd.git
synced 2025-09-23 12:44:04 +00:00
Add support for the "sd_notify" protocol
This allows the "ngircd.service" systemd(8) unit to use the "notify" service type, which allows for better status tracking by the service manager.
This commit is contained in:
@@ -11,7 +11,7 @@ Before=anope.service atheme.service irc-services.service
|
||||
Before=bopm.service hopm.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Type=notify
|
||||
User=irc
|
||||
Group=irc
|
||||
# Settings & limits:
|
||||
@@ -35,7 +35,7 @@ EnvironmentFile=-/etc/default/ngircd
|
||||
EnvironmentFile=-/etc/default/ngircd-full
|
||||
EnvironmentFile=-/etc/default/ngircd-full-dbg
|
||||
# Start ngIRCd. Note: systemd doesn't allow to use $DAEMON here!
|
||||
ExecStart=/usr/sbin/ngircd $PARAMS
|
||||
ExecStart=/usr/sbin/ngircd --nodaemon --syslog $PARAMS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
|
Reference in New Issue
Block a user