Commit 270ddae060d387bdbec15dc7234c702922613cd7

Authored by Rohan Rangray
1 parent 447770722b
Exists in master

Removed touch-reload from run_production. newrelic didn't run on restart

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

scripts/run_production.sh View file @ 270ddae
... ... @@ -2,7 +2,7 @@
2 2 source secrets.sh
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   -uwsgi /etc/uwsgi/websocket.ini --touch-reload=/etc/uwsgi/websocket.ini &
6   -newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini --touch-reload=/etc/uwsgi/flashy.ini
  5 +uwsgi /etc/uwsgi/websocket.ini &
  6 +newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini
7 7 trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT