Commit 5c344b8a0b06178ec5399a6b10c191b672eb0258
1 parent
59ca143c77
Exists in
master
Forgot to add --touch-reload to uwsgi apps
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
scripts/run_production.sh
View file @
5c344b8
... | ... | @@ -3,6 +3,6 @@ |
3 | 3 | source venv/bin/activate |
4 | 4 | # 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 |
5 | 5 | # Run the scripts with 'exec' so they're tracked by upstart properly |
6 | -exec uwsgi /etc/uwsgi/websocket.ini & | |
7 | -exec newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini | |
6 | +exec uwsgi /etc/uwsgi/websocket.ini --touch-reload=/etc/uwsgi/websocket.ini & | |
7 | +exec newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini --touch-reload=/etc/uwsgi/flashy.ini |