From e2a23b28ad2b6213bc47b742e95def018a94ff8d Mon Sep 17 00:00:00 2001 From: Hironsan Date: Thu, 14 Jul 2022 15:38:24 +0900 Subject: [PATCH] Update run.sh --- tools/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" &