173 lines
3.7 KiB
HTML
173 lines
3.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SYSTEMD-TIMEDATED.SERVICE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SYSTEMD-TIMEDATED.SERVICE</H1>
|
|
Section: systemd-timedated.service (8)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
systemd-timedated.service, systemd-timedated - Time and date bus mechanism
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
systemd-timedated.service
|
|
<P>
|
|
|
|
/lib/systemd/systemd-timedated
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
systemd-timedated
|
|
is a system service that may be used as a mechanism to change the system clock and timezone, as well as to enable/disable network time synchronization.
|
|
systemd-timedated
|
|
is automatically activated on request and terminates itself when it is unused.
|
|
<P>
|
|
|
|
The tool
|
|
<B><A HREF="/cgi-bin/man/man2html?1+timedatectl">timedatectl</A></B>(1)
|
|
is a command line client to this service.
|
|
<P>
|
|
|
|
See the
|
|
m[blue]<B>developer documentation</B>m[]<FONT SIZE="-2">[1]</FONT>
|
|
for information about the APIs
|
|
systemd-timedated
|
|
provides.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>LIST OF NETWORK TIME SYNCHRONIZATION SERVICES</H2>
|
|
|
|
<P>
|
|
|
|
<B>systemd-timesyncd</B>
|
|
will look for files with a
|
|
".list"
|
|
extension in
|
|
ntp-units.d/
|
|
directories. Each file is parsed as a list of unit names, one per line. Empty lines and lines with comments ("#") are ignored. Files are read from
|
|
/usr/lib/systemd/ntp-units.d/
|
|
and the corresponding directories under
|
|
/etc/,
|
|
/run/,
|
|
/usr/local/lib/. Files in
|
|
/etc/
|
|
override files with the same name in
|
|
/run/,
|
|
/usr/local/lib/, and
|
|
/lib/. Files in
|
|
/run/
|
|
override files with the same name under
|
|
/usr/. Packages should install their configuration files in
|
|
/usr/lib/
|
|
(distribution packages) or
|
|
/usr/local/lib/
|
|
(local installs).
|
|
<P>
|
|
|
|
<B>Example 1. ntp-units.d/ entry for systemd-timesyncd</B>
|
|
<P>
|
|
<DL COMPACT><DT id="1"><DD>
|
|
|
|
|
|
|
|
<PRE>
|
|
# /usr/lib/systemd/ntp-units.d/80-systemd-timesync.list
|
|
systemd-timesyncd.service
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
If the environment variable
|
|
<I>$SYSTEMD_TIMEDATED_NTP_SERVICES</I>
|
|
is set,
|
|
<B>systemd-timesyncd</B>
|
|
will parse the contents of that variable as a colon-separated list of unit names. When set, this variable overrides the file-based list described above.
|
|
<P>
|
|
|
|
<B>Example 2. An override that specifies that chronyd should be used if available</B>
|
|
<P>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
|
|
|
|
|
|
<PRE>
|
|
SYSTEMD_TIMEDATED_NTP_SERVICES=chronyd.service:systemd-timesyncd.service
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?1+timedatectl">timedatectl</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?5+localtime">localtime</A></B>(5),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+hwclock">hwclock</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-timesyncd">systemd-timesyncd</A></B>(8)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="3"> 1.<DD>
|
|
developer documentation
|
|
<DL COMPACT><DT id="4"><DD>
|
|
<A HREF="https://www.freedesktop.org/wiki/Software/systemd/timedated">https://www.freedesktop.org/wiki/Software/systemd/timedated</A>
|
|
</DL>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">LIST OF NETWORK TIME SYNCHRONIZATION SERVICES</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">NOTES</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:17 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|