chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: use <example> instead of multiple <refsect1> for examples
[elogind.git]
/
man
/
systemd-activate.xml
diff --git
a/man/systemd-activate.xml
b/man/systemd-activate.xml
index 717f5c0c28c8303c7ae44865e958c018d7f30d47..cde4263c3c477f1efe53e2eb258b0895335be316 100644
(file)
--- 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>
</refsect1>
<refsect1>
- <title>Example
1
</title>
+ <title>Example
s
</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>
</refsect1>
<refsect1>