From e6f9bd0d891c2857d111f75a6c726aab8c3e7de0 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Tue, 5 May 2015 01:19:17 -0700 Subject: [PATCH] Added gunicorn options --- scripts/run_production.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.9.1