units: introduce new Documentation= field and make use of it everywhere
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them.
This commit is contained in:
@@ -49,7 +49,9 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<para><filename>basic.target</filename>,
|
||||
<filename>bluetooth.target</filename>,
|
||||
<filename>ctrl-alt-del.target</filename>,
|
||||
<filename>cryptsetup.target</filename>,
|
||||
<filename>dbus.service</filename>,
|
||||
<filename>dbus.socket</filename>,
|
||||
<filename>default.target</filename>,
|
||||
@@ -57,6 +59,7 @@
|
||||
<filename>emergency.target</filename>,
|
||||
<filename>exit.service</filename>,
|
||||
<filename>final.service</filename>,
|
||||
<filename>getty.target</filename>,
|
||||
<filename>graphical.target</filename>,
|
||||
<filename>hibernate.target</filename>,
|
||||
<filename>http-daemon.target</filename>,
|
||||
@@ -69,7 +72,9 @@
|
||||
<filename>multi-user.target</filename>,
|
||||
<filename>network.target</filename>,
|
||||
<filename>nss-lookup.target</filename>,
|
||||
<filename>nss-user-lookup.target</filename>,
|
||||
<filename>poweroff.target</filename>,
|
||||
<filename>printer.target</filename>,
|
||||
<filename>reboot.target</filename>,
|
||||
<filename>remote-fs.target</filename>,
|
||||
<filename>remote-fs-pre.target</filename>,
|
||||
@@ -82,7 +87,9 @@
|
||||
<filename>shutdown.target</filename>,
|
||||
<filename>sigpwr.target</filename>,
|
||||
<filename>sleep.target</filename>,
|
||||
<filename>smartcard.target</filename>,
|
||||
<filename>sockets.target</filename>,
|
||||
<filename>sound.target</filename>,
|
||||
<filename>suspend.target</filename>,
|
||||
<filename>swap.target</filename>,
|
||||
<filename>sysinit.target</filename>,
|
||||
@@ -127,6 +134,16 @@
|
||||
this unit.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>bluetooth.target</filename></term>
|
||||
<listitem>
|
||||
<para>This target is started
|
||||
automatically as soon as a
|
||||
bluetooth controller is
|
||||
plugged in or becomes
|
||||
available at boot.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>ctrl-alt-del.target</filename></term>
|
||||
<listitem>
|
||||
@@ -139,6 +156,15 @@
|
||||
<filename>reboot.target</filename>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>cryptsetup.target</filename></term>
|
||||
<listitem>
|
||||
<para>A target that pulls in
|
||||
setup services for all
|
||||
encrypted block
|
||||
devices.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>dbus.service</filename></term>
|
||||
<listitem>
|
||||
@@ -226,6 +252,15 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>getty.target</filename></term>
|
||||
<listitem>
|
||||
<para>A special target unit
|
||||
that pulls in all local TTY
|
||||
<filename>getty</filename> instances.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>graphical.target</filename></term>
|
||||
<listitem>
|
||||
@@ -442,6 +477,16 @@
|
||||
unit, for compatibility with SysV.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>printer.target</filename></term>
|
||||
<listitem>
|
||||
<para>This target is started
|
||||
automatically as soon as a
|
||||
printer is plugged in or
|
||||
becomes available at
|
||||
boot.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>reboot.target</filename></term>
|
||||
<listitem>
|
||||
@@ -615,6 +660,16 @@
|
||||
logic.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>smartcard.target</filename></term>
|
||||
<listitem>
|
||||
<para>This target is started
|
||||
automatically as soon as a
|
||||
smartcard controller is
|
||||
plugged in or becomes
|
||||
available at boot.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>sockets.target</filename></term>
|
||||
<listitem>
|
||||
@@ -629,6 +684,16 @@
|
||||
during installation.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>sound.target</filename></term>
|
||||
<listitem>
|
||||
<para>This target is started
|
||||
automatically as soon as a
|
||||
sound card is plugged in or
|
||||
becomes available at
|
||||
boot.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><filename>suspend.target</filename></term>
|
||||
<listitem>
|
||||
|
||||
@@ -294,6 +294,23 @@
|
||||
name.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>Documentation=</varname></term>
|
||||
<listitem><para>A space separated list
|
||||
of URIs referencing documentation for
|
||||
this unit or its
|
||||
configuration. Accepted are only URIs
|
||||
of the types
|
||||
<literal>http://</literal>,
|
||||
<literal>https://</literal>,
|
||||
<literal>file:</literal>,
|
||||
<literal>info:</literal>,
|
||||
<literal>man:</literal>. For more
|
||||
information about the syntax of these
|
||||
URIs see
|
||||
<citerefentry><refentrytitle>uri</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>Requires=</varname></term>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user