summaryrefslogtreecommitdiff
path: root/man/systemd.timer.xml
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2014-08-04 22:15:52 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-14 01:49:40 +0200
commit19f8d037833f2426f0ea6b06279d669ed69fcfd1 (patch)
treebb66c486608abb2f8be5b66da2e6de0d1821fd2b /man/systemd.timer.xml
parenteb7040ec50fbfe5aad9eaf305bd442a4a235abaa (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/systemd.timer.xml')
-rw-r--r--man/systemd.timer.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml
index d82b9bdc9..9fcf5ccb9 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>