2018-03-21 14:42:04 +03:00
<?xml version='1.0'?> <!-- * - nxml - * -->
2019-03-14 16:40:58 +03:00
< !DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2018-03-21 14:42:04 +03:00
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
2020-11-09 07:23:58 +03:00
<!-- SPDX - License - Identifier: LGPL - 2.1 - or - later -->
2018-03-21 14:42:04 +03:00
2023-08-22 19:52:02 +03:00
<refentry id= "systemd-time-wait-sync.service" conditional= 'ENABLE_TIMESYNCD'
xmlns:xi="http://www.w3.org/2001/XInclude">
2018-03-21 14:42:04 +03:00
<refentryinfo >
<title > systemd-time-wait-sync.service</title>
<productname > systemd</productname>
</refentryinfo>
<refmeta >
<refentrytitle > systemd-time-wait-sync.service</refentrytitle>
<manvolnum > 8</manvolnum>
</refmeta>
<refnamediv >
<refname > systemd-time-wait-sync.service</refname>
<refname > systemd-time-wait-sync</refname>
2020-07-06 11:49:59 +03:00
<refpurpose > Wait until kernel time is synchronized</refpurpose>
2018-03-21 14:42:04 +03:00
</refnamediv>
<refsynopsisdiv >
<para > <filename > systemd-time-wait-sync.service</filename> </para>
<para > <filename > /usr/lib/systemd/systemd-time-wait-sync</filename> </para>
</refsynopsisdiv>
<refsect1 >
<title > Description</title>
2020-12-20 23:03:53 +03:00
<para > <filename > systemd-time-wait-sync</filename> is a system service that delays the start of units that
are ordered after <filename > time-sync.target</filename> (see
<citerefentry > <refentrytitle > systemd.special</refentrytitle> <manvolnum > 7</manvolnum> </citerefentry> for
details) until the system time has been synchronized with an accurate remote reference time source by
2018-04-09 21:39:16 +03:00
<filename > systemd-timesyncd.service</filename> .</para>
2018-03-21 14:42:04 +03:00
2020-12-20 23:03:53 +03:00
<para > <filename > systemd-timesyncd.service</filename> notifies <filename > systemd-time-wait-sync</filename>
about successful synchronization. <filename > systemd-time-wait-sync</filename> also tries to detect when
the kernel marks the system clock as synchronized, but this detection is not reliable and is intended
only as a fallback for compatibility with alternative NTP services that can be used to synchronize time
(e.g., ntpd, chronyd).</para>
2018-03-21 14:42:04 +03:00
</refsect1>
<refsect1 >
2018-04-09 21:39:16 +03:00
<title > Files</title>
<variablelist >
<varlistentry >
<term > <filename > /run/systemd/timesync/synchronized</filename> </term>
<listitem >
<para > The presence of this file indicates to this service that the system clock has been synchronized.</para>
2023-08-22 19:52:36 +03:00
<xi:include href= "version-info.xml" xpointer= "v239" />
2018-04-09 21:39:16 +03:00
</listitem>
</varlistentry>
</variablelist>
2018-03-21 14:42:04 +03:00
</refsect1>
<refsect1 >
<title > See Also</title>
<para >
<citerefentry > <refentrytitle > systemd</refentrytitle> <manvolnum > 1</manvolnum> </citerefentry> ,
<citerefentry > <refentrytitle > systemd.special</refentrytitle> <manvolnum > 7</manvolnum> </citerefentry> ,
<citerefentry > <refentrytitle > systemd-timesyncd.service</refentrytitle> <manvolnum > 8</manvolnum> </citerefentry> ,
</para>
</refsect1>
</refentry>