summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-26 00:15:59 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-26 00:15:59 +0200
commitf59e0b64351adec735d06ccf0d0ff0eb31c902c0 (patch)
treefd68f40714ddae646590689f853c1033ae7adc79
parent4940835715197bcc5924fc5e4d163a07b0940e02 (diff)
man: document systemd-initctl
-rw-r--r--Makefile.am7
-rw-r--r--man/systemd-initctl.service.xml74
-rw-r--r--units/systemd-initctl.service.in1
3 files changed, 80 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 054481426e..e3a179b314 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -489,7 +489,8 @@ MANPAGES = \
man/journalctl.1 \
man/systemd-inhibit.1 \
man/systemd-remount-fs.service.8 \
- man/systemd-update-utmp-runlevel.service.8
+ man/systemd-update-utmp-runlevel.service.8 \
+ man/systemd-initctl.service.8
MANPAGES_ALIAS = \
man/reboot.8 \
@@ -500,7 +501,8 @@ MANPAGES_ALIAS = \
man/systemd-journald.8 \
man/systemd-remount-fs.8 \
man/systemd-update-utmp-shutdown.service.8 \
- man/systemd-update-utmp.8
+ man/systemd-update-utmp.8 \
+ man/systemd-initctl.8
man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
@@ -511,6 +513,7 @@ man/systemd-journald.8: man/systemd-journald.service.8
man/systemd-remount-fs.8: man/systemd-remount-fs.service.8
man/systemd-update-utmp-shutdown.service.8: man/systemd-update-utmp-runlevel.service.8
man/systemd-update-utmp.8: man/systemd-update-utmp-runlevel.service.8
+man/systemd-initctl.8: man/systemd-initctl.service.8
XML_FILES = \
${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
diff --git a/man/systemd-initctl.service.xml b/man/systemd-initctl.service.xml
new file mode 100644
index 0000000000..92d91fcb48
--- /dev/null
+++ b/man/systemd-initctl.service.xml
@@ -0,0 +1,74 @@
+<?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 2012 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-initctl.service">
+
+ <refentryinfo>
+ <title>systemd-initctl.service</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-initctl.service</refentrytitle>
+ <manvolnum>8</manvolnum>
+ </refmeta>
+
+ <refnamediv>
+ <refname>systemd-initctl.service</refname>
+ <refname>systemd-initctl</refname>
+ <refpurpose>systemd <filename>/dev/initctl</filename> Compatibility</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <para><filename>systemd-initctl.service</filename></para>
+ <para><filename>/usr/lib/systemd/systemd-initctl</filename></para>
+ </refsynopsisdiv>
+
+ <refsect1>
+ <title>Description</title>
+
+ <para><filename>systemd-initctl</filename> is a system
+ service that implements compatibility with the
+ <filename>/dev/initctl</filename> FIFO file system
+ object, as implemented by the SysV init system. <filename>systemd-initctl</filename> is
+ automatically activated on request and terminates
+ itself when it is unused.</para>
+ </refsect1>
+
+ <refsect1>
+ <title>See Also</title>
+ <para>
+ <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ </para>
+ </refsect1>
+
+</refentry>
diff --git a/units/systemd-initctl.service.in b/units/systemd-initctl.service.in
index 11e2286035..27e663c8dc 100644
--- a/units/systemd-initctl.service.in
+++ b/units/systemd-initctl.service.in
@@ -7,6 +7,7 @@
[Unit]
Description=/dev/initctl Compatibility Daemon
+Documentation=man:systemd-initctl.service(8)
DefaultDependencies=no
[Service]