]>
Commit | Line | Data |
---|---|---|
5c3376ef | 1 | <?xml version='1.0'?> <!--*-nxml-*--> |
3a54a157 | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
5c3376ef | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
db9ecf05 | 4 | <!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
5c3376ef PB |
5 | |
6 | <refentry id="systemd-time-wait-sync.service" conditional='ENABLE_TIMESYNCD'> | |
7 | ||
8 | <refentryinfo> | |
9 | <title>systemd-time-wait-sync.service</title> | |
10 | <productname>systemd</productname> | |
5c3376ef PB |
11 | </refentryinfo> |
12 | ||
13 | <refmeta> | |
14 | <refentrytitle>systemd-time-wait-sync.service</refentrytitle> | |
15 | <manvolnum>8</manvolnum> | |
16 | </refmeta> | |
17 | ||
18 | <refnamediv> | |
19 | <refname>systemd-time-wait-sync.service</refname> | |
20 | <refname>systemd-time-wait-sync</refname> | |
e9dd6984 | 21 | <refpurpose>Wait until kernel time is synchronized</refpurpose> |
5c3376ef PB |
22 | </refnamediv> |
23 | ||
24 | <refsynopsisdiv> | |
25 | <para><filename>systemd-time-wait-sync.service</filename></para> | |
26 | <para><filename>/usr/lib/systemd/systemd-time-wait-sync</filename></para> | |
27 | </refsynopsisdiv> | |
28 | ||
29 | <refsect1> | |
30 | <title>Description</title> | |
31 | ||
32 | <para><filename>systemd-time-wait-sync</filename> is a system service that delays the start of units that depend on | |
2dd79846 PB |
33 | <filename>time-sync.target</filename> until the system time has been synchronized with an accurate time source by |
34 | <filename>systemd-timesyncd.service</filename>.</para> | |
5c3376ef | 35 | |
2dd79846 PB |
36 | <para><filename>systemd-timesyncd.service</filename> notifies on successful synchronization. |
37 | <filename>systemd-time-wait-sync</filename> also tries to detect when the kernel marks the time as synchronized, | |
decef551 | 38 | but this detection is not reliable and is intended only as a fallback for other services that can be used to |
2dd79846 | 39 | synchronize time (e.g., ntpd, chronyd).</para> |
5c3376ef PB |
40 | |
41 | </refsect1> | |
42 | ||
43 | <refsect1> | |
2dd79846 PB |
44 | <title>Files</title> |
45 | ||
46 | <variablelist> | |
47 | <varlistentry> | |
48 | <term><filename>/run/systemd/timesync/synchronized</filename></term> | |
49 | ||
50 | <listitem> | |
51 | <para>The presence of this file indicates to this service that the system clock has been synchronized.</para> | |
52 | </listitem> | |
53 | ||
54 | </varlistentry> | |
55 | </variablelist> | |
5c3376ef | 56 | |
5c3376ef PB |
57 | </refsect1> |
58 | ||
59 | <refsect1> | |
60 | <title>See Also</title> | |
61 | <para> | |
62 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
63 | <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>, | |
64 | <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
65 | </para> | |
66 | </refsect1> | |
67 | ||
68 | </refentry> |