chiark / gitweb /
event: hook up sd-event with the service watchdog logic
[elogind.git] / src / locale / localed.c
index abb610d33259f87e7aa382512c75c17406e31e57..7c41822a2f7d6df9f9dcdb8d8349ab5501d37d03 100644 (file)
@@ -1137,6 +1137,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;