]> arthur.barton.de Git - ngircd.git/commit
Ping the service manager and set a status message
authorAlexander Barton <alex@barton.de>
Fri, 5 Apr 2024 20:48:22 +0000 (22:48 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 5 Apr 2024 22:13:13 +0000 (00:13 +0200)
commit791778d7b6e2f0e92c67e6812f85445171c24572
tree8b52d2ab605fd52f1244ff5e3111c379773b0b8b
parente4873b4d63d0bcd4914a1cee82599a13cfd77e47
Ping the service manager and set a status message

Periodically "ping" the service manager (every 3 seconds) and set a
status message showing connection statistics.

This enables using the systemd(8) watchdog functionality for the
"ngircd.service" unit.
contrib/ngircd.service
src/ngircd/conn.c
src/ngircd/sighandlers.c
src/ngircd/sighandlers.h