diff --git a/scripts/run_production.sh b/scripts/run_production.sh index 0262fa5..c422039 100755 --- a/scripts/run_production.sh +++ b/scripts/run_production.sh @@ -1,4 +1,4 @@ #!/bin/bash -xe source secrets.sh source venv/bin/activate -/srv/flashy-backend/venv/bin/gunicorn -b 127.0.0.1:7002 flashy.wsgi +/srv/flashy-backend/venv/bin/gunicorn --pid /run/flashy/gunicorn.pid -w 6 -n flashy -b 127.0.0.1:7002 flashy.wsgi