diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-09-23 12:38:30 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-09-23 13:52:29 +0000 |
commit | de6fae8a6ec65ea10c1660a3106524b2f23b6bc7 (patch) | |
tree | c6a38d9175b0f1ba7eadf4773eb1b26c4b8a6c74 /man/systemd-run.xml | |
parent | dbb319464a91d2e4592bf5245bc8c08d09f43876 (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.
Diffstat (limited to 'man/systemd-run.xml')
-rw-r--r-- | man/systemd-run.xml | 2 |
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> |