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.cxx | |
parent | cf471e830ffd9dc417aeb5e85a9bbbfbd6d18b09 (diff) |
lib/systemd/Watchdog: implement the systemd watchdog protocol
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r-- | src/Instance.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx index b3595e995..f208ca194 100644 --- a/src/Instance.cxx +++ b/src/Instance.cxx @@ -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)) { } |