diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-14 23:28:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-04-02 08:20:10 +0200 |
commit | d9b8c2ef8bc4bcd3bfbdecad9fa7d3dceeb65a93 (patch) | |
tree | d90fe4cef4e3ca7b609a8e0f9fd15cf7db8be453 | |
parent | test: add tests for new .timer units (diff) | |
download | systemd-d9b8c2ef8bc4bcd3bfbdecad9fa7d3dceeb65a93.tar.xz systemd-d9b8c2ef8bc4bcd3bfbdecad9fa7d3dceeb65a93.zip |
man: document the two new .timer settings
-rw-r--r-- | man/systemd-run.xml | 12 | ||||
-rw-r--r-- | man/systemd.timer.xml | 11 |
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. |