summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-09-05 15:29:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-06 10:35:24 +0100
commit0f47b17fe88dc660648d94b2d8d8286d87ae6295 (patch)
tree8b90638ed991750746a27734032d8ab84be5e02b
parent16f3cd3535c9eec71ea7594c1e3a83db00dba7ca (diff)
downloadbitbake-contrib-0f47b17fe88dc660648d94b2d8d8286d87ae6295.tar.gz
bitbake-contrib-0f47b17fe88dc660648d94b2d8d8286d87ae6295.tar.bz2
bitbake-contrib-0f47b17fe88dc660648d94b2d8d8286d87ae6295.zip
toaster: don't kill all runserver processes
Toaster script kills runserver process 2 ways: - sending signal to pid from .toastermain.pid. - sending signal to pids found by grepping ps output: ps fux | grep "python.*manage.py runserver" Second approach is redundant and harmfull as it kills all django development server running on the machine. [YOCTO #7973] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbin/toaster3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/toaster b/bin/toaster
index b14749a8f3..6641dbc576 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -33,9 +33,6 @@ webserverKillAll()
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM -$pid 2>/dev/null
sleep 1
- # Kill processes if they are still running - may happen
- # in interactive shells
- ps fux | grep "python.*manage.py runserver" | awk '{print $2}' | xargs kill
done
rm ${pidfile}
fi