]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-timedated.service.xml
travis: add more ASan options
[thirdparty/systemd.git] / man / systemd-timedated.service.xml
CommitLineData
83620960 1<?xml version='1.0'?> <!--*-nxml-*-->
3a54a157 2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
12b42c76 3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0307f791 4<!-- SPDX-License-Identifier: LGPL-2.1+ -->
83620960 5
56ba3c78 6<refentry id="systemd-timedated.service" conditional='ENABLE_TIMEDATED'>
83620960 7
798d3a52
ZJS
8 <refentryinfo>
9 <title>systemd-timedated.service</title>
10 <productname>systemd</productname>
798d3a52
ZJS
11 </refentryinfo>
12
13 <refmeta>
14 <refentrytitle>systemd-timedated.service</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>systemd-timedated.service</refname>
20 <refname>systemd-timedated</refname>
21 <refpurpose>Time and date bus mechanism</refpurpose>
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <para><filename>systemd-timedated.service</filename></para>
12b42c76 26 <para><filename>/usr/lib/systemd/systemd-timedated</filename></para>
798d3a52
ZJS
27 </refsynopsisdiv>
28
29 <refsect1>
30 <title>Description</title>
31
32 <para><filename>systemd-timedated</filename> is a system service
33 that may be used as a mechanism to change the system clock and
34 timezone, as well as to enable/disable NTP time synchronization.
35 <filename>systemd-timedated</filename> is automatically activated
36 on request and terminates itself when it is unused.</para>
37
38 <para>The tool
39 <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
40 is a command line client to this service.</para>
41
42 <para>See the <ulink
28a0ad81 43 url="https://www.freedesktop.org/wiki/Software/systemd/timedated">
798d3a52
ZJS
44 developer documentation</ulink> for information about the APIs
45 <filename>systemd-timedated</filename> provides.</para>
46 </refsect1>
47
326208e0
YW
48 <refsect1>
49 <title>Environment</title>
50
51 <variablelist class='environment-variables'>
52 <varlistentry>
53 <term><varname>$SYSTEMD_TIMEDATED_NTP_SERVICES</varname></term>
54
55 <listitem><para>Colon-separated list of unit names of NTP client services.
56 If not set, then
57 <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
58 is used. See the entries of NTP related commands of
59 <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
60 for details about this.</para>
61
62 <para>Example:
63 <programlisting>SYSTEMD_TIMEDATED_NTP_SERVICES=ntpd.service:chronyd.service:systemd-timesyncd.service</programlisting>
64 </para></listitem>
65 </varlistentry>
66 </variablelist>
67 </refsect1>
798d3a52
ZJS
68 <refsect1>
69 <title>See Also</title>
70 <para>
71 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
72 <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
73 <citerefentry><refentrytitle>localtime</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
326208e0
YW
74 <citerefentry project='man-pages'><refentrytitle>hwclock</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
75 <citerefentry><refentrytitle>systemd-timesyncd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
798d3a52
ZJS
76 </para>
77 </refsect1>
83620960
LP
78
79</refentry>