diff --git a/tools/run.sh b/tools/run.sh index 5a008a02..b4537d3b 100755 --- a/tools/run.sh +++ b/tools/run.sh @@ -36,7 +36,7 @@ fi echo "Starting django" # gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-4}" app.wsgi --timeout 300 -gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" config.wsgi --timeout=300 & +gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" config.wsgi --timeout=300 --capture-output & gunicorn_pid="$!" celery --app=config worker --loglevel=INFO --concurrency="${CELERY_WORKERS:-1}" &