]> arthur.ath.cx Git - ngircd-alex.git/blobdiff - contrib/ngircd.service
Ping the service manager and set a status message
[ngircd-alex.git] / contrib / ngircd.service
index 215f5052714806693d37fec4e32aefdcd70e7df1..5ab73553cffdc5e60328b95e6de5e2a44b64de3d 100644 (file)
@@ -37,6 +37,9 @@ EnvironmentFile=-/etc/default/ngircd-full-dbg
 # Start ngIRCd. Note: systemd doesn't allow to use $DAEMON here!
 ExecStart=/usr/sbin/ngircd --nodaemon --syslog $PARAMS
 ExecReload=/bin/kill -HUP $MAINPID
+# Error handling:
+# ngIRCd tries to "ping" the service manager every 3 seconds.
+WatchdogSec=10
 Restart=on-failure
 
 [Install]