mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: document the two new .timer settings
This commit is contained in:
parent
347da10194
commit
d9b8c2ef8b
@ -316,6 +316,18 @@
|
||||
</listitem>
|
||||
</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>
|
||||
|
@ -259,6 +259,17 @@
|
||||
<varname>AccuracySec=1us</varname>.</para></listitem>
|
||||
</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user