From de6fae8a6ec65ea10c1660a3106524b2f23b6bc7 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Wed, 23 Sep 2015 12:38:30 +0000 Subject: 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. --- man/systemd-run.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. - # systemd-run -t /bin/bash + # systemd-run -t --send-sighup /bin/bash -- cgit v1.2.3-54-g00ecf