]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/timesyncd.conf.xml
Merge pull request #180 from ronnychevalier/rc/coverity_cid_1304686
[thirdparty/systemd.git] / man / timesyncd.conf.xml
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4 <!ENTITY % entities SYSTEM "custom-entities.ent" >
5 %entities;
6 ]>
7
8 <!--
9 This file is part of systemd.
10
11 Copyright 2014 Lennart Poettering
12
13 systemd is free software; you can redistribute it and/or modify it
14 under the terms of the GNU Lesser General Public License as published by
15 the Free Software Foundation; either version 2.1 of the License, or
16 (at your option) any later version.
17
18 systemd is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public License
24 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25 -->
26
27 <refentry id="timesyncd.conf" conditional='ENABLE_TIMESYNCD'
28 xmlns:xi="http://www.w3.org/2001/XInclude">
29 <refentryinfo>
30 <title>timesyncd.conf</title>
31 <productname>systemd</productname>
32
33 <authorgroup>
34 <author>
35 <contrib>Developer</contrib>
36 <firstname>Lennart</firstname>
37 <surname>Poettering</surname>
38 <email>lennart@poettering.net</email>
39 </author>
40 </authorgroup>
41 </refentryinfo>
42
43 <refmeta>
44 <refentrytitle>timesyncd.conf</refentrytitle>
45 <manvolnum>5</manvolnum>
46 </refmeta>
47
48 <refnamediv>
49 <refname>timesyncd.conf</refname>
50 <refname>timesyncd.conf.d</refname>
51 <refpurpose>Network Time Synchronization configuration files</refpurpose>
52 </refnamediv>
53
54 <refsynopsisdiv>
55 <para><filename>&pkgsysconfdir;/timesyncd.conf</filename></para>
56 <para><filename>&pkgsysconfdir;/timesyncd.conf.d/*.conf</filename></para>
57 <para><filename>/run/systemd/timesyncd.conf.d/*.conf</filename></para>
58 <para><filename>&rootlibexecdir;/timesyncd.conf.d/*.conf</filename></para>
59 </refsynopsisdiv>
60
61 <refsect1>
62 <title>Description</title>
63
64 <para>These configuration files control NTP network time
65 synchronization.</para>
66
67 </refsect1>
68
69 <xi:include href="standard-conf.xml" xpointer="main-conf" />
70
71 <refsect1>
72 <title>Options</title>
73
74 <variablelist class='network-directives'>
75
76 <varlistentry>
77 <term><varname>NTP=</varname></term>
78 <listitem><para>A space separated list of NTP server host
79 names or IP addresses. During runtime this list is combined
80 with any per-interface NTP servers acquired from
81 <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
82 systemd-timesyncd will contact all configured system or
83 per-interface servers in turn until one is found that
84 responds. This setting defaults to an empty
85 list.</para></listitem>
86 </varlistentry>
87
88 <varlistentry>
89 <term><varname>FallbackNTP=</varname></term>
90 <listitem><para>A space separated list of NTP server host
91 names or IP addresses to be used as the fallback NTP servers.
92 Any per-interface NTP servers obtained from
93 <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
94 take precedence over this setting, as do any servers set via
95 <varname>NTP=</varname> above. This setting is hence only used
96 if no other NTP server information is known. If this option is
97 not given, a compiled-in list of NTP servers is used
98 instead.</para></listitem>
99 </varlistentry>
100
101 </variablelist>
102 </refsect1>
103
104 <refsect1>
105 <title>See Also</title>
106 <para>
107 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
108 <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
109 <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
110 </para>
111 </refsect1>
112
113 </refentry>