lib/systemd/Watchdog: implement the systemd watchdog protocol

This commit is contained in:
Max Kellermann
2018-08-02 11:15:35 +02:00
parent cf471e830f
commit a31da51fd9
8 changed files with 139 additions and 0 deletions

View File

@@ -41,6 +41,9 @@
Instance::Instance()
:rtio_thread(true),
#ifdef ENABLE_SYSTEMD_DAEMON
systemd_watchdog(event_loop),
#endif
idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle))
{
}