diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2014-08-04 22:15:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-14 01:49:40 +0200 |
commit | 19f8d037833f2426f0ea6b06279d669ed69fcfd1 (patch) | |
tree | bb66c486608abb2f8be5b66da2e6de0d1821fd2b /man | |
parent | eb7040ec50fbfe5aad9eaf305bd442a4a235abaa (diff) |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.timer.xml | 17 |
1 files changed, 11 insertions, 6 deletions
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 @@ <varname>Unit=</varname> (see below).</para> <para>Unless <varname>DefaultDependencies=</varname> - is set to <option>false</option>, timer units will + is set to <option>false</option>, all timer units will implicitly have dependencies of type <varname>Conflicts=</varname> and <varname>Before=</varname> on - <filename>shutdown.target</filename>. 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.</para> + <filename>shutdown.target</filename> to ensure that + they are stopped cleanly prior to system shutdown. + Timer units with at least one + <varname>OnCalendar=</varname> directive will have an + additional <varname>After=</varname> dependency on + <filename>timer-sync.target</filename> 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 + <varname>DefaultDependencies=</varname> option.</para> </refsect1> <refsect1> |