man: split systemctl commands to sections

This commit is contained in:
Lukas Nykryn 2013-08-28 15:46:59 +02:00 committed by Lennart Poettering
parent 9285c9ff26
commit 27722f9643

View file

@ -503,6 +503,9 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<para>The following commands are understood:</para>
<refsect2>
<title>Unit Commands</title>
<variablelist>
<varlistentry>
<term><command>list-units</command></term>
@ -753,6 +756,25 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
</listitem>
</varlistentry>
<varlistentry>
<term><command>list-dependencies <replaceable>NAME</replaceable></command></term>
<listitem>
<para>Shows required and wanted units of the specified
unit. If no unit is specified,
<filename>default.target</filename> is implied. Target units
are recursively expanded. When <option>--all</option> is
passed, all other units are recursively expanded as
well.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>Unit File Commands</title>
<variablelist>
<varlistentry>
<term><command>list-unit-files</command></term>
@ -941,7 +963,13 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<filename>default.target</filename> to the given unit.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>Job Commands</title>
<variablelist>
<varlistentry>
<term><command>list-jobs</command></term>
@ -958,19 +986,13 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
all pending jobs.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<varlistentry>
<term><command>list-dependencies <replaceable>NAME</replaceable></command></term>
<refsect2>
<title>Snapshot Commands</title>
<listitem>
<para>Shows required and wanted units of the specified
unit. If no unit is specified,
<filename>default.target</filename> is implied. Target units
are recursively expanded. When <option>--all</option> is
passed, all other units are recursively expanded as
well.</para>
</listitem>
</varlistentry>
<variablelist>
<varlistentry>
<term><command>snapshot [<replaceable>NAME</replaceable>]</command></term>
@ -1003,33 +1025,13 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<command>snapshot</command>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>daemon-reload</command></term>
</variablelist>
</refsect2>
<listitem>
<para>Reload systemd manager configuration. This will reload
all unit files and recreate the entire dependency
tree. While the daemon is reloaded, all sockets systemd
listens on on behalf of user configuration will stay
accessible.</para> <para>This command should not be confused
with the <command>load</command> or
<command>reload</command> commands.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>daemon-reexec</command></term>
<refsect2>
<title>Environment Commands</title>
<listitem>
<para>Reexecute the systemd manager. This will serialize the
manager state, reexecute the process and deserialize the
state again. This command is of little use except for
debugging and package upgrades. Sometimes it might be
helpful as a heavy-weight <command>daemon-reload</command>.
While the daemon is reexecuted, all sockets systemd listening
on behalf of user configuration will stay accessible.
</para>
</listitem>
</varlistentry>
<variablelist>
<varlistentry>
<term><command>show-environment</command></term>
@ -1060,6 +1062,47 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
specified value.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>Manager Lifecycle Commands</title>
<variablelist>
<varlistentry>
<term><command>daemon-reload</command></term>
<listitem>
<para>Reload systemd manager configuration. This will reload
all unit files and recreate the entire dependency
tree. While the daemon is reloaded, all sockets systemd
listens on on behalf of user configuration will stay
accessible.</para> <para>This command should not be confused
with the <command>load</command> or
<command>reload</command> commands.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>daemon-reexec</command></term>
<listitem>
<para>Reexecute the systemd manager. This will serialize the
manager state, reexecute the process and deserialize the
state again. This command is of little use except for
debugging and package upgrades. Sometimes it might be
helpful as a heavy-weight <command>daemon-reload</command>.
While the daemon is reexecuted, all sockets systemd listening
on behalf of user configuration will stay accessible.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>System Commands</title>
<variablelist>
<varlistentry>
<term><command>default</command></term>
@ -1206,6 +1249,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
</listitem>
</varlistentry>
</variablelist>
</refsect2>
</refsect1>