From 5ad13bd09bdb069a90f463a6f317913234e31196 Mon Sep 17 00:00:00 2001 From: Alina Nesterova Date: Thu, 17 Nov 2016 15:38:38 +0300 Subject: [PATCH] Added killing of all python processes Now all python processes should be killed with the script Change-Id: If5696c1fa93551e10d9a255b71c3d8195742c86e --- config/devstack/local.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/devstack/local.sh b/config/devstack/local.sh index 447c22cd..0095a1a3 100755 --- a/config/devstack/local.sh +++ b/config/devstack/local.sh @@ -162,8 +162,9 @@ fi # Restart OpenStack services screen -X -S stack quit -killall -9 python -killall -9 "/usr/bin/python" +echo "Kill all python processes" +# shellcheck disable=SC2009 +ps aux | pgrep -f python | sudo xargs kill -9 screen -dm -c $TOP_DIR/stack-screenrc sleep 10