diff options
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c index 33c04df933..21843363d2 100644 --- a/src/timesync/timesyncd.c +++ b/src/timesync/timesyncd.c @@ -976,6 +976,8 @@ static int manager_new(Manager **ret) { if (r < 0) return r; + sd_event_set_watchdog(m->event, true); + sd_event_add_signal(m->event, &m->sigterm, SIGTERM, NULL, NULL); sd_event_add_signal(m->event, &m->sigint, SIGINT, NULL, NULL); |