From 19f8d037833f2426f0ea6b06279d669ed69fcfd1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 4 Aug 2014 22:15:52 +0200 Subject: timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no Avoids triggering timers prematurely on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely. --- man/systemd.timer.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'man/systemd.timer.xml') diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml index d82b9bdc97..9fcf5ccb97 100644 --- a/man/systemd.timer.xml +++ b/man/systemd.timer.xml @@ -78,15 +78,20 @@ Unit= (see below). Unless DefaultDependencies= - is set to , timer units will + is set to , all timer units will implicitly have dependencies of type Conflicts= and Before= on - shutdown.target. These ensure - that timer units are stopped cleanly prior to system - shutdown. Only timer units involved with early boot or - late system shutdown should disable this - option. + shutdown.target to ensure that + they are stopped cleanly prior to system shutdown. + Timer units with at least one + OnCalendar= directive will have an + additional After= dependency on + timer-sync.target to avoid + being started before the system clock has been + correctly set. Only timer units involved with early + boot or late system shutdown should disable the + DefaultDependencies= option. -- cgit v1.2.3-54-g00ecf