mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00:00
man: systemd-run: run bash with --send-sighup
When bash is interactive it ignores SIGTERM. SIGHUP indicates to bash that the connection has been severed. `systemctl stop` doesn't wait TimeoutStopSec secs.
This commit is contained in:
parent
dbb319464a
commit
de6fae8a6e
|
@ -381,7 +381,7 @@ Dec 08 20:44:48 container systemd[1]: Started /bin/touch /tmp/foo.</programlisti
|
|||
as a service passing its standard input, output and error to
|
||||
the calling TTY.</para>
|
||||
|
||||
<programlisting># systemd-run -t /bin/bash</programlisting>
|
||||
<programlisting># systemd-run -t --send-sighup /bin/bash</programlisting>
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue