1SYSTEMD-TIMESYNCD.SERVICE(8)systemd-timesyncd.servicSeYSTEMD-TIMESYNCD.SERVICE(8)
2
3
4

NAME

6       systemd-timesyncd.service, systemd-timesyncd - Network Time
7       Synchronization
8

SYNOPSIS

10       systemd-timesyncd.service
11
12       /usr/lib/systemd/systemd-timesyncd
13

DESCRIPTION

15       systemd-timesyncd is a system service that may be used to synchronize
16       the local system clock with a remote Network Time Protocol (NTP)
17       server. It also saves the local time to disk every time the clock has
18       been synchronized and uses this to possibly advance the system realtime
19       clock on subsequent reboots to ensure it (roughly) monotonically
20       advances even if the system lacks a battery-buffered RTC chip.
21
22       The systemd-timesyncd service implements SNTP only. This minimalistic
23       service will step the system clock for large offsets or slowly adjust
24       it for smaller deltas. Complex use cases that require full NTP support
25       (and where SNTP is not sufficient) are not covered by
26       systemd-timesyncd.
27
28       The NTP servers contacted are determined from the global settings in
29       timesyncd.conf(5), the per-link static settings in .network files, and
30       the per-link dynamic settings received over DHCP. See
31       systemd.network(5) for further details.
32
33       timedatectl(1)'s set-ntp command may be used to enable and start, or
34       disable and stop this service.
35
36       timedatectl(1)'s timesync-status or show-timesync command can be used
37       to show the current status of this service.
38
39       systemd-timesyncd initialization delays the start of units that are
40       ordered after time-set.target (see systemd.special(7) for details)
41       until the local time has been updated from
42       /var/lib/systemd/timesync/clock (see below) in order to make it roughly
43       monotonic. It does not delay other units until synchronization with an
44       accurate reference time sources has been reached. Use systemd-time-
45       wait-sync.service(8) to achieve that, which will delay start of units
46       that are ordered after time-sync.target until synchronization to an
47       accurate reference clock is reached.
48

FILES

50       /var/lib/systemd/timesync/clock
51           The modification time ("mtime") of this file indicates the
52           timestamp of the last successful synchronization (or at least the
53           systemd build date, in case synchronization was not possible). It
54           is used to ensure that the system clock remains roughly monotonic
55           across reboots, in case no local RTC is available.
56
57       /run/systemd/timesync/synchronized
58           A file that is touched on each successful synchronization, to
59           assist systemd-time-wait-sync and other applications to detecting
60           synchronization with accurate reference clocks.
61

SEE ALSO

63       systemd(1), timesyncd.conf(5), systemd.network(5), systemd-
64       networkd.service(8), systemd-time-wait-sync.service(8),
65       systemd.special(7), timedatectl(1), localtime(5), hwclock(8)
66
67
68
69systemd 248                                       SYSTEMD-TIMESYNCD.SERVICE(8)
Impressum