Add systemd watchdog support

Add possibility to send keep-alive ping to systemd watchdog. Also update
notify service file to ping service manager every 3 minutes; mosquitto
pings actually every 1 minute and 30 seconds (half period).

Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
This commit is contained in:
Gaël PORTAY
2025-02-25 11:51:24 +00:00
committed by Roger A. Light
parent 7999a5aebb
commit 4237144427
+1
View File
@@ -6,6 +6,7 @@ Wants=network.target
[Service]
Type=notify
WatchdogSec=3min
NotifyAccess=main
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
ExecReload=/bin/kill -HUP $MAINPID