1TIMESYNCD.CONF(5) timesyncd.conf TIMESYNCD.CONF(5)
2
3
4
6 timesyncd.conf, timesyncd.conf.d - Network Time Synchronization
7 configuration files
8
10 /etc/systemd/timesyncd.conf
11
12 /etc/systemd/timesyncd.conf.d/*.conf
13
14 /run/systemd/timesyncd.conf.d/*.conf
15
16 /usr/lib/systemd/timesyncd.conf.d/*.conf
17
19 These configuration files control NTP network time synchronization. See
20 systemd.syntax(5) for a general description of the syntax.
21
23 The default configuration is defined during compilation, so a
24 configuration file is only needed when it is necessary to deviate from
25 those defaults. By default, the configuration file in /etc/systemd/
26 contains commented out entries showing the defaults as a guide to the
27 administrator. This file can be edited to create local overrides.
28
29 When packages need to customize the configuration, they can install
30 configuration snippets in /usr/lib/systemd/*.conf.d/. Files in /etc/
31 are reserved for the local administrator, who may use this logic to
32 override the configuration files installed by vendor packages. The main
33 configuration file is read before any of the configuration directories,
34 and has the lowest precedence; entries in a file in any configuration
35 directory override entries in the single configuration file. Files in
36 the *.conf.d/ configuration subdirectories are sorted by their filename
37 in lexicographic order, regardless of which of the subdirectories they
38 reside in. When multiple files specify the same option, for options
39 which accept just a single value, the entry in the file with the
40 lexicographically latest name takes precedence. For options which
41 accept a list of values, entries are collected as they occur in files
42 sorted lexicographically. It is recommended to prefix all filenames in
43 those subdirectories with a two-digit number and a dash, to simplify
44 the ordering of the files.
45
46 To disable a configuration file supplied by the vendor, the recommended
47 way is to place a symlink to /dev/null in the configuration directory
48 in /etc/, with the same filename as the vendor configuration file.
49
51 The following settings are configured in the "[Time]" section:
52
53 NTP=
54 A space-separated list of NTP server host names or IP addresses.
55 During runtime this list is combined with any per-interface NTP
56 servers acquired from systemd-networkd.service(8).
57 systemd-timesyncd will contact all configured system or
58 per-interface servers in turn until one is found that responds.
59 When the empty string is assigned, the list of NTP servers is
60 reset, and all assignments prior to this one will have no effect.
61 This setting defaults to an empty list.
62
63 FallbackNTP=
64 A space-separated list of NTP server host names or IP addresses to
65 be used as the fallback NTP servers. Any per-interface NTP servers
66 obtained from systemd-networkd.service(8) take precedence over this
67 setting, as do any servers set via NTP= above. This setting is
68 hence only used if no other NTP server information is known. When
69 the empty string is assigned, the list of NTP servers is reset, and
70 all assignments prior to this one will have no effect. If this
71 option is not given, a compiled-in list of NTP servers is used
72 instead.
73
74 RootDistanceMaxSec=
75 Maximum acceptable root distance. Takes a time value (in seconds).
76 Defaults to 5 seconds.
77
78 PollIntervalMinSec=, PollIntervalMaxSec=
79 The minimum and maximum poll intervals for NTP messages. Each
80 setting takes a time value (in seconds). PollIntervalMinSec= must
81 not be smaller than 16 seconds. PollIntervalMaxSec= must be larger
82 than PollIntervalMinSec=. PollIntervalMinSec= defaults to 32
83 seconds, and PollIntervalMaxSec= defaults to 2048 seconds.
84
86 systemd(1), systemd-timesyncd.service(8), systemd-networkd.service(8)
87
88
89
90systemd 239 TIMESYNCD.CONF(5)