summaryrefslogtreecommitdiff
path: root/man/systemd-timesyncd.service.xml
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2018-04-09 13:39:16 -0500
committerPeter A. Bigot <pab@pabigot.com>2018-04-14 09:52:40 -0500
commit2dd79846ddd5f31aaf178eb3457677139e38fac0 (patch)
tree4cb0f47df662847dbee21579cb56a3e798ba14e6 /man/systemd-timesyncd.service.xml
parent006ffa6421f763abc74b5cc03f55a8d9ee84325d (diff)
downloadsystemd-2dd79846ddd5f31aaf178eb3457677139e38fac0.tar.gz
time-wait-sync: use watchfile to coordinate with timesyncd
Systems that have an accurate real-time clock may have an initial unsynchronized time that is close enough to the synchronized time that the final adjustment doesn't trigger a waking "clock set" event. Have timesyncd touch a file in its runtime directory as a secondary signal for synchronization. Continue to support the timerfd-based trigger as a sufficient condition when the watchfile is not present. Closes issue #8683
Diffstat (limited to 'man/systemd-timesyncd.service.xml')
-rw-r--r--man/systemd-timesyncd.service.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/systemd-timesyncd.service.xml b/man/systemd-timesyncd.service.xml
index 26f783767b..49e00e2b91 100644
--- a/man/systemd-timesyncd.service.xml
+++ b/man/systemd-timesyncd.service.xml
@@ -80,10 +80,21 @@
<term><filename>/var/lib/systemd/timesync/clock</filename></term>
<listitem>
- <para>This file contains the timestamp of the last successful
+ <para>The modification time of this file indicates the timestamp of the last successful
synchronization.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><filename>/run/systemd/timesync/synchronized</filename></term>
+
+ <listitem>
+ <para>A file that is touched on each successful synchronization, to assist
+ <filename>systemd-time-wait-sync</filename> and other applications to detecting synchronization
+ events.</para>
+ </listitem>
+
+ </varlistentry>
</variablelist>
</refsect1>
@@ -94,6 +105,7 @@
<citerefentry><refentrytitle>timesyncd.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>systemd-time-wait-sync.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>localtime</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry project='man-pages'><refentrytitle>hwclock</refentrytitle><manvolnum>8</manvolnum></citerefentry>