summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-09-23 12:38:30 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-09-23 13:52:29 +0000
commitde6fae8a6ec65ea10c1660a3106524b2f23b6bc7 (patch)
treec6a38d9175b0f1ba7eadf4773eb1b26c4b8a6c74
parentdbb319464a91d2e4592bf5245bc8c08d09f43876 (diff)
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.
-rw-r--r--man/systemd-run.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemd-run.xml b/man/systemd-run.xml
index b220e0dce1..8850735a34 100644
--- a/man/systemd-run.xml
+++ b/man/systemd-run.xml
@@ -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>