chiark / gitweb /
event: hook up sd-event with the service watchdog logic
[elogind.git] / src / machine / machined.c
index 35b33c30186fbe7da0195d32ddc1bd9a83a57bcb..d63960352725bdbc8889b26613da1fe86762d476 100644 (file)
@@ -59,6 +59,8 @@ Manager *manager_new(void) {
                 return NULL;
         }
 
+        sd_event_set_watchdog(m->event, true);
+
         return m;
 }