chiark / gitweb /
man: document systemd-timedated.service
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2012 20:56:45 +0000 (22:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2012 20:56:45 +0000 (22:56 +0200)
Makefile.am
man/systemd-timedated.service.xml [new file with mode: 0644]
units/systemd-timedated.service.in

index 60bd8fdfc2dcf01ba2ea7ea8c1ef8a0e2d3274bf..3dad313347d3b21ecba2bf46af4c0bb2f2ec9091 100644 (file)
@@ -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 (file)
index 0000000..354fcd6
--- /dev/null
@@ -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>
index fbdf9e1746373c92f8674f79dd58bee34cbf7f13..1944a71cb7fb2823a331f616394e9c38b6282b9b 100644 (file)
@@ -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