Update systemd's watchdog timeout in luc-handler using WatchdogClient
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Wed, 13 Jun 2012 10:07:40 +0000 (11:07 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Wed, 13 Jun 2012 10:08:59 +0000 (11:08 +0100)
commit3571efc391f7e86d92401f8e46814a8fd343c87f
tree62bb47a2b8d4475ac78cc4e3800a30f72b2a7072
parent974ef8bbb35b8fa9d9fff8af8ab300f8e066de83
Update systemd's watchdog timeout in luc-handler using WatchdogClient

WatchdogClient is a new class that takes a timeout and asks systemd to
update its watchdog timeout in regular intervals using sd_notify().
common/watchdog-client.c [new file with mode: 0644]
common/watchdog-client.h [new file with mode: 0644]
luc-handler/Makefile.am
luc-handler/main.c