mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-23 16:43:49 +08:00
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:
committed by
Roger A. Light
parent
7999a5aebb
commit
4237144427
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user