diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-02 11:15:35 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-02 11:15:35 +0200 |
commit | a31da51fd9bd215645b9cabce5fefa449ca14c90 (patch) | |
tree | e320d144db30fade309650e598930422824ac032 /src/Instance.hxx | |
parent | cf471e830ffd9dc417aeb5e85a9bbbfbd6d18b09 (diff) |
lib/systemd/Watchdog: implement the systemd watchdog protocol
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index 936923d73..6b1e6d87a 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -26,6 +26,10 @@ #include "event/MaskMonitor.hxx" #include "Compiler.h" +#ifdef ENABLE_SYSTEMD_DAEMON +#include "lib/systemd/Watchdog.hxx" +#endif + #ifdef ENABLE_CURL #include "RemoteTagCacheHandler.hxx" #endif @@ -89,6 +93,10 @@ struct Instance final */ EventThread rtio_thread; +#ifdef ENABLE_SYSTEMD_DAEMON + Systemd::Watchdog systemd_watchdog; +#endif + MaskMonitor idle_monitor; #ifdef ENABLE_NEIGHBOR_PLUGINS |