From 5c344b8a0b06178ec5399a6b10c191b672eb0258 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Fri, 22 May 2015 23:08:42 -0700 Subject: [PATCH] Forgot to add --touch-reload to uwsgi apps --- scripts/run_production.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run_production.sh b/scripts/run_production.sh index 6ded945..998b3c3 100755 --- a/scripts/run_production.sh +++ b/scripts/run_production.sh @@ -3,5 +3,5 @@ source secrets.sh source venv/bin/activate # newrelic-admin run-program /srv/flashy-backend/venv/bin/gunicorn --pid /run/flashy/gunicorn.pid -w 6 -n flashy -b 127.0.0.1:7002 flashy.wsgi # Run the scripts with 'exec' so they're tracked by upstart properly -exec uwsgi /etc/uwsgi/websocket.ini & -exec newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini +exec uwsgi /etc/uwsgi/websocket.ini --touch-reload=/etc/uwsgi/websocket.ini & +exec newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini --touch-reload=/etc/uwsgi/flashy.ini -- 1.9.1