From a4f8e0b37e42b46844a0504bdba4ded12eaa54f1 Mon Sep 17 00:00:00 2001 From: dvanaken Date: Mon, 13 Jan 2020 11:26:37 -0500 Subject: [PATCH] Cleanup old celery processes in docker/start.sh --- docker/start.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/start.sh b/docker/start.sh index 5f352ab..b37cf70 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -5,6 +5,10 @@ addrport="0.0.0.0:8000" # Wait for backend connection /bin/bash wait-for-it.sh +# Kill any existing celery processes +pkill -9 -f celery +rm -f *.pid + ## Needs a connection to a DB so migrations go here python3 manage.py makemigrations website python3 manage.py migrate