chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
event: hook up sd-event with the service watchdog logic
[elogind.git]
/
src
/
machine
/
machined.c
diff --git
a/src/machine/machined.c
b/src/machine/machined.c
index 35b33c30186fbe7da0195d32ddc1bd9a83a57bcb..d63960352725bdbc8889b26613da1fe86762d476 100644
(file)
--- a/
src/machine/machined.c
+++ b/
src/machine/machined.c
@@
-59,6
+59,8
@@
Manager *manager_new(void) {
return NULL;
}
+ sd_event_set_watchdog(m->event, true);
+
return m;
}