summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.