]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-timedated.service.xml
Merge pull request #8615 from yuwata/fix-1329
[thirdparty/systemd.git] / man / systemd-timedated.service.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 SPDX-License-Identifier: LGPL-2.1+
7
8 This file is part of systemd.
9
10 Copyright 2010 Lennart Poettering
11 -->
12
13 <refentry id="systemd-timedated.service" conditional='ENABLE_TIMEDATED'>
14
15 <refentryinfo>
16 <title>systemd-timedated.service</title>
17 <productname>systemd</productname>
18
19 <authorgroup>
20 <author>
21 <contrib>Developer</contrib>
22 <firstname>Lennart</firstname>
23 <surname>Poettering</surname>
24 <email>lennart@poettering.net</email>
25 </author>
26 </authorgroup>
27 </refentryinfo>
28
29 <refmeta>
30 <refentrytitle>systemd-timedated.service</refentrytitle>
31 <manvolnum>8</manvolnum>
32 </refmeta>
33
34 <refnamediv>
35 <refname>systemd-timedated.service</refname>
36 <refname>systemd-timedated</refname>
37 <refpurpose>Time and date bus mechanism</refpurpose>
38 </refnamediv>
39
40 <refsynopsisdiv>
41 <para><filename>systemd-timedated.service</filename></para>
42 <para><filename>/usr/lib/systemd/systemd-timedated</filename></para>
43 </refsynopsisdiv>
44
45 <refsect1>
46 <title>Description</title>
47
48 <para><filename>systemd-timedated</filename> is a system service
49 that may be used as a mechanism to change the system clock and
50 timezone, as well as to enable/disable NTP time synchronization.
51 <filename>systemd-timedated</filename> is automatically activated
52 on request and terminates itself when it is unused.</para>
53
54 <para>The tool
55 <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
56 is a command line client to this service.</para>
57
58 <para>See the <ulink
59 url="https://www.freedesktop.org/wiki/Software/systemd/timedated">
60 developer documentation</ulink> for information about the APIs
61 <filename>systemd-timedated</filename> provides.</para>
62 </refsect1>
63
64 <refsect1>
65 <title>Environment</title>
66
67 <variablelist class='environment-variables'>
68 <varlistentry>
69 <term><varname>$SYSTEMD_TIMEDATED_NTP_SERVICES</varname></term>
70
71 <listitem><para>Colon-separated list of unit names of NTP client services.
72 If not set, then
73 <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
74 is used. See the entries of NTP related commands of
75 <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
76 for details about this.</para>
77
78 <para>Example:
79 <programlisting>SYSTEMD_TIMEDATED_NTP_SERVICES=ntpd.service:chronyd.service:systemd-timesyncd.service</programlisting>
80 </para></listitem>
81 </varlistentry>
82 </variablelist>
83 </refsect1>
84 <refsect1>
85 <title>See Also</title>
86 <para>
87 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
88 <citerefentry><refentrytitle>timedatectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
89 <citerefentry><refentrytitle>localtime</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
90 <citerefentry project='man-pages'><refentrytitle>hwclock</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
91 <citerefentry><refentrytitle>systemd-timesyncd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
92 </para>
93 </refsect1>
94
95 </refentry>