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, _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel