let the gunicorn run in foreground

This commit is contained in:
Andreas Zweili 2020-03-10 21:50:07 +01:00
parent 06245632c7
commit 2700e366f2
1 changed files with 1 additions and 1 deletions

2
run.sh
View File

@ -2,5 +2,5 @@ export DJANGO_SETTINGS_MODULE=sensors.settings.production
export DJANGO_DEBUG=False
export DJANGO_SECRET_KEY=foo
./manage.py migrate
gunicorn sensors.wsgi:application --bind 0.0.0.0:8000 --workers 3 &
./collector.sh &
gunicorn sensors.wsgi:application --bind 0.0.0.0:8000 --workers 4