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