summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-14 23:28:46 +0100
committerLennart Poettering <lennart@poettering.net>2019-04-02 08:20:10 +0200
commitd9b8c2ef8bc4bcd3bfbdecad9fa7d3dceeb65a93 (patch)
treed90fe4cef4e3ca7b609a8e0f9fd15cf7db8be453
parent347da101944a249ccd17b2f6856546be32d6692d (diff)
downloadsystemd-d9b8c2ef8bc4bcd3bfbdecad9fa7d3dceeb65a93.tar.gz
man: document the two new .timer settings
-rw-r--r--man/systemd-run.xml12
-rw-r--r--man/systemd.timer.xml11
2 files changed, 23 insertions, 0 deletions
diff --git a/man/systemd-run.xml b/man/systemd-run.xml
index 4dd81395cd..8f7a6229cc 100644
--- a/man/systemd-run.xml
+++ b/man/systemd-run.xml
@@ -317,6 +317,18 @@
</varlistentry>
<varlistentry>
+ <term><option>--on-clock-change</option></term>
+ <term><option>--on-timezone-change</option></term>
+
+ <listitem><para>Defines a trigger based on system clock jumps or timezone changes for starting the
+ specified command. See <varname>OnClockChange=</varname> and <varname>OnTimezoneChange=</varname> in
+ <citerefentry><refentrytitle>systemd.timer</refentrytitle><manvolnum>5</manvolnum></citerefentry>. These
+ options are shortcuts for <command>--timer-property=OnClockChange=yes</command> and
+ <command>--timer-property=OnTimezoneChange=yes</command>. These options may not be combined with
+ <option>--scope</option> or <option>--pty</option>.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--path-property=</option></term>
<term><option>--socket-property=</option></term>
<term><option>--timer-property=</option></term>
diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml
index f1afcf6b7e..6a13e52ccf 100644
--- a/man/systemd.timer.xml
+++ b/man/systemd.timer.xml
@@ -260,6 +260,17 @@
</varlistentry>
<varlistentry>
+ <term><varname>OnClockChange=</varname></term>
+ <term><varname>OnTimezoneChange=</varname></term>
+
+ <listitem><para>These options take boolean arguments. When true, the service unit will be triggered
+ when the system clock (<constant>CLOCK_REALTIME</constant>) jumps relative to the monotonic clock
+ (<constant>CLOCK_MONOTONIC</constant>), or when the local system timezone is modified. These options
+ can be used alone or in combination with other timer expressions (see above) within the same timer
+ unit. These options default to false.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>Unit=</varname></term>
<listitem><para>The unit to activate when this timer elapses.