160 lines
5.3 KiB
HTML
160 lines
5.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of TIMESYNCD.CONF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>TIMESYNCD.CONF</H1>
|
|
Section: timesyncd.conf (5)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
timesyncd.conf, timesyncd.conf.d - Network Time Synchronization configuration files
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
/etc/systemd/timesyncd.conf
|
|
<P>
|
|
|
|
/etc/systemd/timesyncd.conf.d/*.conf
|
|
<P>
|
|
|
|
/run/systemd/timesyncd.conf.d/*.conf
|
|
<P>
|
|
|
|
/usr/lib/systemd/timesyncd.conf.d/*.conf
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
These configuration files control NTP network time synchronization. See
|
|
<B><A HREF="/cgi-bin/man/man2html?7+systemd.syntax">systemd.syntax</A></B>(7)
|
|
for a general description of the syntax.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>CONFIGURATION DIRECTORIES AND PRECEDENCE</H2>
|
|
|
|
<P>
|
|
|
|
The default configuration is defined during compilation, so a configuration file is only needed when it is necessary to deviate from those defaults. By default, the configuration file in
|
|
/etc/systemd/
|
|
contains commented out entries showing the defaults as a guide to the administrator. This file can be edited to create local overrides.
|
|
<P>
|
|
|
|
When packages need to customize the configuration, they can install configuration snippets in
|
|
/usr/lib/systemd/*.conf.d/
|
|
or
|
|
/usr/local/lib/systemd/*.conf.d/. The main configuration file is read before any of the configuration directories, and has the lowest precedence; entries in a file in any configuration directory override entries in the single configuration file. Files in the
|
|
*.conf.d/
|
|
configuration subdirectories are sorted by their filename in lexicographic order, regardless of in which of the subdirectories they reside. When multiple files specify the same option, for options which accept just a single value, the entry in the file with the lexicographically latest name takes precedence. For options which accept a list of values, entries are collected as they occur in files sorted lexicographically.
|
|
<P>
|
|
|
|
Files in
|
|
/etc/
|
|
are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages. It is recommended to prefix all filenames in those subdirectories with a two-digit number and a dash, to simplify the ordering of the files.
|
|
<P>
|
|
|
|
To disable a configuration file supplied by the vendor, the recommended way is to place a symlink to
|
|
/dev/null
|
|
in the configuration directory in
|
|
/etc/, with the same filename as the vendor configuration file.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
The following settings are configured in the
|
|
"[Time]"
|
|
section:
|
|
<P>
|
|
|
|
<I>NTP=</I>
|
|
<DL COMPACT><DT id="1"><DD>
|
|
A space-separated list of NTP server host names or IP addresses. During runtime this list is combined with any per-interface NTP servers acquired from
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-networkd.service">systemd-networkd.service</A></B>(8). systemd-timesyncd will contact all configured system or per-interface servers in turn until one is found that responds. When the empty string is assigned, the list of NTP servers is reset, and all assignments prior to this one will have no effect. This setting defaults to an empty list.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<I>FallbackNTP=</I>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
A space-separated list of NTP server host names or IP addresses to be used as the fallback NTP servers. Any per-interface NTP servers obtained from
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-networkd.service">systemd-networkd.service</A></B>(8)
|
|
take precedence over this setting, as do any servers set via
|
|
<I>NTP=</I>
|
|
above. This setting is hence only used if no other NTP server information is known. When the empty string is assigned, the list of NTP servers is reset, and all assignments prior to this one will have no effect. If this option is not given, a compiled-in list of NTP servers is used instead.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<I>RootDistanceMaxSec=</I>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Maximum acceptable root distance. Takes a time value (in seconds). Defaults to 5 seconds.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<I>PollIntervalMinSec=</I>, <I>PollIntervalMaxSec=</I>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
The minimum and maximum poll intervals for NTP messages. Each setting takes a time value (in seconds).
|
|
<I>PollIntervalMinSec=</I>
|
|
must not be smaller than 16 seconds.
|
|
<I>PollIntervalMaxSec=</I>
|
|
must be larger than
|
|
<I>PollIntervalMinSec=</I>.
|
|
<I>PollIntervalMinSec=</I>
|
|
defaults to 32 seconds, and
|
|
<I>PollIntervalMaxSec=</I>
|
|
defaults to 2048 seconds.
|
|
</DL>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-timesyncd.service">systemd-timesyncd.service</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-networkd.service">systemd-networkd.service</A></B>(8)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">CONFIGURATION DIRECTORIES AND PRECEDENCE</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">OPTIONS</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:06 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|