diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-10-12 00:37:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-21 01:09:17 +0200 |
commit | 1db8c66f2e500272cb5582f9087b8e2a123aee10 (patch) | |
tree | 7af42bb943db20d1f71e66f3d49a46cada34432a /man/systemd-activate.xml | |
parent | e2e07fec7b3002a19da48845a0985c7e8dc6cc84 (diff) |
man: use <example> instead of multiple <refsect1> for examples
Diffstat (limited to 'man/systemd-activate.xml')
-rw-r--r-- | man/systemd-activate.xml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/man/systemd-activate.xml b/man/systemd-activate.xml index 717f5c0c28..cde4263c3c 100644 --- a/man/systemd-activate.xml +++ b/man/systemd-activate.xml @@ -144,20 +144,19 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. </refsect1> <refsect1> - <title>Example 1</title> + <title>Examples</title> - <programlisting>$ /usr/lib/systemd/systemd-activate -l 2000 -a cat</programlisting> + <example> + <title>Run an echo server on port 2000</title> - <para>This runs an echo server on port 2000.</para> - </refsect1> - - <refsect1> - <title>Example 2</title> + <programlisting>$ /usr/lib/systemd/systemd-activate -l 2000 -a cat</programlisting> + </example> - <programlisting>$ /usr/lib/systemd/systemd-activate -l 19531 /usr/lib/systemd/systemd-journal-gatewayd</programlisting> + <example> + <title>Run a socket activated instance of <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry></title> - <para>This runs a socket activated instance of - <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> + <programlisting>$ /usr/lib/systemd/systemd-activate -l 19531 /usr/lib/systemd/systemd-journal-gatewayd</programlisting> + </example> </refsect1> <refsect1> |