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