]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: systemd-run: run bash with --send-sighup 1355/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Wed, 23 Sep 2015 12:38:30 +0000 (12:38 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 23 Sep 2015 13:52:29 +0000 (13:52 +0000)
When bash is interactive it ignores SIGTERM.
SIGHUP indicates to bash that the connection has been
severed. `systemctl stop` doesn't wait TimeoutStopSec secs.

man/systemd-run.xml

index b220e0dce1e5bd7f544a1ec368831930a259eb39..8850735a346678ab986df9bcaf6bd630eeafb356 100644 (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>