mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 01:55:22 +03:00
man/sd-run: /bin/bash -> bash in -t example
sd-run already does PATH lookup via find_executable_full()
This commit is contained in:
parent
a6ac4cbc4e
commit
1e8c094cb8
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user