1SYSTEMD-TIMESYNCD.SERVICE(8)systemd-timesyncd.servicSeYSTEMD-TIMESYNCD.SERVICE(8)
2
3
4
6 systemd-timesyncd.service, systemd-timesyncd - Network Time
7 Synchronization
8
10 systemd-timesyncd.service
11
12 /usr/lib/systemd/systemd-timesyncd
13
15 systemd-timesyncd is a system service that may be used to synchronize
16 the local system clock with a remote Network Time Protocol server. It
17 also saves the local time to disk every time the clock has been
18 synchronized and uses this to possibly advance the system realtime
19 clock on subsequent reboots to ensure it monotonically advances even if
20 the system lacks a battery-buffered RTC chip.
21
22 The systemd-timesyncd service specifically implements only SNTP. This
23 minimalistic service will set the system clock for large offsets or
24 slowly adjust it for smaller deltas. More complex use cases are not
25 covered by systemd-timesyncd.
26
27 The NTP servers contacted are determined from the global settings in
28 timesyncd.conf(5), the per-link static settings in .network files, and
29 the per-link dynamic settings received over DHCP. See
30 systemd.network(5) for more details.
31
32 timedatectl(1)'s set-ntp command may be used to enable and start, or
33 disable and stop this service.
34
35 timedatectl(1)'s timesync-status or show-timesync command can be used
36 to show the current status of this service.
37
39 /var/lib/systemd/timesync/clock
40 The modification time of this file indicates the timestamp of the
41 last successful synchronization (or at least the systemd build
42 date, in case synchronization was not possible).
43
44 /run/systemd/timesync/synchronized
45 A file that is touched on each successful synchronization, to
46 assist systemd-time-wait-sync and other applications to detecting
47 synchronization events.
48
50 systemd(1), timesyncd.conf(5), systemd.network(5), systemd-
51 networkd.service(8), systemd-time-wait-sync.service(8), timedatectl(1),
52 localtime(5), hwclock(8)
53
54
55
56systemd 245 SYSTEMD-TIMESYNCD.SERVICE(8)