1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6 <refentry id="systemd-time-wait-sync.service" conditional='ENABLE_TIMESYNCD'
7 xmlns:xi="http://www.w3.org/2001/XInclude">
10 <title>systemd-time-wait-sync.service</title>
11 <productname>systemd</productname>
15 <refentrytitle>systemd-time-wait-sync.service</refentrytitle>
16 <manvolnum>8</manvolnum>
20 <refname>systemd-time-wait-sync.service</refname>
21 <refname>systemd-time-wait-sync</refname>
22 <refpurpose>Wait until kernel time is synchronized</refpurpose>
26 <para><filename>systemd-time-wait-sync.service</filename></para>
27 <para><filename>/usr/lib/systemd/systemd-time-wait-sync</filename></para>
31 <title>Description</title>
33 <para><filename>systemd-time-wait-sync</filename> is a system service that delays the start of units that
34 are ordered after <filename>time-sync.target</filename> (see
35 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry> for
36 details) until the system time has been synchronized with an accurate remote reference time source by
37 <filename>systemd-timesyncd.service</filename>.</para>
39 <para><filename>systemd-timesyncd.service</filename> notifies <filename>systemd-time-wait-sync</filename>
40 about successful synchronization. <filename>systemd-time-wait-sync</filename> also tries to detect when
41 the kernel marks the system clock as synchronized, but this detection is not reliable and is intended
42 only as a fallback for compatibility with alternative NTP services that can be used to synchronize time
43 (e.g., ntpd, chronyd).</para>
51 <term><filename>/run/systemd/timesync/synchronized</filename></term>
54 <para>The presence of this file indicates to this service that the system clock has been synchronized.</para>
56 <xi:include href="version-info.xml" xpointer="v239"/>
65 <title>See Also</title>
67 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
68 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
69 <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,