summaryrefslogtreecommitdiff
path: root/man/systemd-run.xml
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2021-12-12 20:30:26 +0100
committerнаб <nabijaczleweli@nabijaczleweli.xyz>2021-12-12 21:13:51 +0100
commit1e8c094cb82aab23f6052b5052d1d85f1d7451ca (patch)
tree8987a7ee0d2003c949f352e23a1046e4780ebb9b /man/systemd-run.xml
parenta6ac4cbc4efdb674b022709881751b26eebbb8c1 (diff)
downloadsystemd-1e8c094cb82aab23f6052b5052d1d85f1d7451ca.tar.gz
man/sd-run: /bin/bash -> bash in -t example
sd-run already does PATH lookup via find_executable_full()
Diffstat (limited to 'man/systemd-run.xml')
-rw-r--r--man/systemd-run.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/systemd-run.xml b/man/systemd-run.xml
index 99726dabfb..66ac26c5f8 100644
--- a/man/systemd-run.xml
+++ b/man/systemd-run.xml
@@ -479,10 +479,10 @@ Dec 08 20:44:48 container systemd[1]: Started /bin/touch /tmp/foo.</programlisti
<example>
<title>Allowing access to the tty</title>
- <para>The following command invokes <filename>/bin/bash</filename> as a service
- passing its standard input, output and error to the calling TTY.</para>
+ <para>The following command invokes <citerefentry><refentrytitle>bash</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ as a service passing its standard input, output and error to the calling TTY.</para>
- <programlisting># systemd-run -t --send-sighup /bin/bash</programlisting>
+ <programlisting># systemd-run -t --send-sighup bash</programlisting>
</example>
<example>