summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-25 22:56:45 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-25 22:56:45 +0200
commit83620960d6f385fcd0cf2a17f70bcb7a8e3eafa9 (patch)
treef0416367204dcf76d01fc273dfaf17b164b3a289
parent6b7b92055db40070676bf3c0539a27569c1203b6 (diff)
man: document systemd-timedated.service
-rw-r--r--Makefile.am8
-rw-r--r--man/systemd-timedated.service.xml83
-rw-r--r--units/systemd-timedated.service.in2
3 files changed, 92 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 60bd8fdfc2..3dad313347 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2704,6 +2704,14 @@ timedated-install-data-hook:
INSTALL_DATA_HOOKS += \
timedated-install-data-hook
+MANPAGES += \
+ man/systemd-timedated.service.8
+
+MANPAGES_ALIAS += \
+ man/systemd-timedated.8
+
+man/systemd-timedated.8: man/systemd-timedated.service.8
+
EXTRA_DIST += \
units/systemd-timedated.service.in
endif
diff --git a/man/systemd-timedated.service.xml b/man/systemd-timedated.service.xml
new file mode 100644
index 0000000000..354fcd6b88
--- /dev/null
+++ b/man/systemd-timedated.service.xml
@@ -0,0 +1,83 @@
+<?xml version='1.0'?> <!--*-nxml-*-->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+
+<!--
+ This file is part of systemd.
+
+ Copyright 2010 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+-->
+
+<refentry id="systemd-timedated.service">
+
+ <refentryinfo>
+ <title>systemd-timedated</title>
+ <productname>systemd</productname>
+
+ <authorgroup>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Lennart</firstname>
+ <surname>Poettering</surname>
+ <email>lennart@poettering.net</email>
+ </author>
+ </authorgroup>
+ </refentryinfo>
+
+ <refmeta>
+ <refentrytitle>systemd-timedated</refentrytitle>
+ <manvolnum>8</manvolnum>
+ </refmeta>
+
+ <refnamediv>
+ <refname>systemd-timedated.service</refname>
+ <refname>systemd-timedated</refname>
+ <refpurpose>systemd Time and Date Bus Mechanism</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <para><filename>systemd-timedated.service</filename></para>
+ <para><filename>/usr/lib/systemd/systemd-timedated</filename></para>
+ </refsynopsisdiv>
+
+ <refsect1>
+ <title>Description</title>
+
+ <para><filename>systemd-timedated</filename> is a
+ system service that may be used as mechanism to change
+ the system clock and timezone, as well as
+ enable/disable NTP time
+ synchronization. <filename>systemd-timedated</filename>
+ is only activated on requests and terminates itself
+ when it is unused.</para>
+
+ <para>See the <ulink
+ url="http://www.freedesktop.org/wiki/Software/systemd/timedated">
+ developer documentation</ulink> for information about
+ the APIs <filename>systemd-timedated</filename>
+ provides.</para>
+ </refsect1>
+
+ <refsect1>
+ <title>See Also</title>
+ <para>
+ <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>timezone</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>hwclock</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ </para>
+ </refsect1>
+
+</refentry>
diff --git a/units/systemd-timedated.service.in b/units/systemd-timedated.service.in
index fbdf9e1746..1944a71cb7 100644
--- a/units/systemd-timedated.service.in
+++ b/units/systemd-timedated.service.in
@@ -7,8 +7,8 @@
[Unit]
Description=Time & Date Service
+Documentation=man:systemd-timedated.service(8) man:timezone(5)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
-Documentation=man:timezone(5)
[Service]
ExecStart=@rootlibexecdir@/systemd-timedated