Added killing of all python processes

Now all python processes should be killed with the script

Change-Id: If5696c1fa93551e10d9a255b71c3d8195742c86e
This commit is contained in:
Alina Nesterova 2016-11-17 15:38:38 +03:00
parent a9737868ce
commit 5ad13bd09b
1 changed files with 3 additions and 2 deletions

View File

@ -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