diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-14 15:56:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-14 15:56:19 +0100 |
commit | 9fccdb0f64d12bc09a71442dd0af2248c1aa3e89 (patch) | |
tree | aca201d5e65bac4bcbe697e6f075378b3c01413a /man/systemd.service.xml | |
parent | 6046278f405b3ebaf84fcf17f6e834c4c4bd6a42 (diff) | |
download | systemd-9fccdb0f64d12bc09a71442dd0af2248c1aa3e89.tar.gz |
man: always place <programlisting> and </programlisting> in a line with actual sources, so that we don't get spurious newlines in the man page output
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 72b872bece..6e9b6696fc 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -442,12 +442,9 @@ be used, they need to be passed explicitly to a shell implementation of some kind. Example:</para> - <programlisting>ExecStart=/bin/sh -c 'dmesg | tac' - </programlisting> - + <programlisting>ExecStart=/bin/sh -c 'dmesg | tac'</programlisting> <para>Example:</para> - <programlisting>ExecStart=/bin/echo one ; /bin/echo "two two" - </programlisting> + <programlisting>ExecStart=/bin/echo one ; /bin/echo "two two"</programlisting> <para>This will execute <command>/bin/echo</command> two times, each time with one argument, @@ -460,8 +457,7 @@ <para>Example:</para> <programlisting>ExecStart=/bin/echo / >/dev/null & \; \ -/bin/ls - </programlisting> +/bin/ls</programlisting> <para>This will execute <command>/bin/echo</command> with five arguments: <literal>/</literal>, @@ -472,8 +468,7 @@ <para>Example:</para> <programlisting>Environment="ONE=one" 'TWO=two two' -ExecStart=/bin/echo $ONE $TWO ${TWO} - </programlisting> +ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting> <para>This will execute <command>/bin/echo</command> with four arguments: <literal>one</literal>, |