[systemd-devel] Watchdog post action
Iñigo Martínez
inigomartinez at gmail.com
Tue Sep 29 07:39:34 PDT 2015
I have been using systemd watchdog for controlling a home made daemon
by restarting it when some timeouts happens. I want to know when it is
happening, but I don't know how to do it.
I was thinking on wrapping the daemon inside a script to do an action
if the daemon was killed, but if the daemon stops because a
segmentation fault for example I will not notice the difference.
Is there anyway to do a post action when the watchdog happens ?
Thanks,
Best regards,
More information about the systemd-devel
mailing list