Cleanup old celery processes in docker/start.sh
This commit is contained in:
parent
bcad0fa017
commit
a4f8e0b37e
|
@ -5,6 +5,10 @@ addrport="0.0.0.0:8000"
|
||||||
# Wait for backend connection
|
# Wait for backend connection
|
||||||
/bin/bash wait-for-it.sh
|
/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
|
## Needs a connection to a DB so migrations go here
|
||||||
python3 manage.py makemigrations website
|
python3 manage.py makemigrations website
|
||||||
python3 manage.py migrate
|
python3 manage.py migrate
|
||||||
|
|
Loading…
Reference in New Issue