let the gunicorn run in foreground
This commit is contained in:
parent
06245632c7
commit
2700e366f2
2
run.sh
2
run.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue