1SYSTEMD-TIMEDATED.SERVICE(8)systemd-timedated.servicSeYSTEMD-TIMEDATED.SERVICE(8)
2
3
4
6 systemd-timedated.service, systemd-timedated - Time and date bus
7 mechanism
8
10 systemd-timedated.service
11
12 /usr/lib/systemd/systemd-timedated
13
15 systemd-timedated is a system service that may be used as a mechanism
16 to change the system clock and timezone, as well as to enable/disable
17 network time synchronization. systemd-timedated is automatically
18 activated on request and terminates itself when it is unused.
19
20 The tool timedatectl(1) is a command line client to this service.
21
22 See the developer documentation[1] for information about the APIs
23 systemd-timedated provides.
24
26 systemd-timesyncd will look for files with a ".list" extension in
27 ntp-units.d/ directories. Each file is parsed as a list of unit names,
28 one per line. Empty lines and lines with comments ("#") are ignored.
29 Files are read from /usr/lib/systemd/ntp-units.d/ and the corresponding
30 directories under /etc/, /run/, /usr/local/lib/. Files in /etc/
31 override files with the same name in /run/, /usr/local/lib/, and
32 /usr/lib/. Files in /run/ override files with the same name under
33 /usr/. Packages should install their configuration files in /usr/lib/
34 (distribution packages) or /usr/local/lib/ (local installs).
35
36 Example 1. ntp-units.d/ entry for systemd-timesyncd
37
38 # /usr/lib/systemd/ntp-units.d/80-systemd-timesync.list
39 systemd-timesyncd.service
40
41 If the environment variable $SYSTEMD_TIMEDATED_NTP_SERVICES is set,
42 systemd-timesyncd will parse the contents of that variable as a
43 colon-separated list of unit names. When set, this variable overrides
44 the file-based list described above.
45
46 Example 2. An override that specifies that chronyd should be used if
47 available
48
49 SYSTEMD_TIMEDATED_NTP_SERVICES=chronyd.service:systemd-timesyncd.service
50
52 systemd(1), timedatectl(1), localtime(5), hwclock(8), systemd-
53 timesyncd(8)
54
56 1. developer documentation
57 https://www.freedesktop.org/wiki/Software/systemd/timedated
58
59
60
61systemd 245 SYSTEMD-TIMEDATED.SERVICE(8)