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:
Evgeny Vereshchagin 2015-09-23 12:38:30 +00:00
parent dbb319464a
commit de6fae8a6e

View file

@ -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>