mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03: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…
x
Reference in New Issue
Block a user