[Piuparts-commits] [piuparts] 01/01: slave_stop: final tunings
Holger Levsen
holger at layer-acht.org
Mon Mar 6 00:08:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit f9e67b4aeb632e01f0e2927c23d77ea528605e13
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 6 01:07:55 2017 +0100
slave_stop: final tunings
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
slave-bin/slave_stop.in | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/slave-bin/slave_stop.in b/slave-bin/slave_stop.in
index 2d615e1..76ad33d 100755
--- a/slave-bin/slave_stop.in
+++ b/slave-bin/slave_stop.in
@@ -26,7 +26,7 @@ set -e
get_config_value SLAVEROOT global slave-directory
get_config_value SLAVECOUNT global slave-count 1
-( sleep 1 && pkill --signal INT --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piuparts-slave' ) &
+pkill --signal INT --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piuparts-slave' &
cd $SLAVEROOT
for i in $(seq 1 $SLAVECOUNT) ; do
tail -f screenlog.$i &
@@ -37,6 +37,5 @@ while pgrep --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piup
sleep 1
done
-pkill --full 'tail -f slave/screenlog.'
-
-echo "All slaves have stop running now."
+pkill --full 'tail -f screenlog.'
+pkill --full 'SCREEN -S piuparts_slave_screen -d -m'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list