chiark / gitweb /
event: hook up sd-event with the service watchdog logic
[elogind.git] / src / timedate / timedated.c
index 6d4388c70c1ca77b84b00dc60360d42abaa31e2e..af2b0785cf6bafa026c3d55530ad74591fee57ca 100644 (file)
@@ -836,6 +836,8 @@ int main(int argc, char *argv[]) {
                 goto finish;
         }
 
+        sd_event_set_watchdog(event, true);
+
         r = connect_bus(&context, event, &bus);
         if (r < 0)
                 goto finish;