Commit 6713d6dc9f0ddfc99cc24a9b57194c0d5b032c91

Authored by Rohan Rangray
1 parent eea730d240
Exists in master

Modified run_production.sh to run uwsgi.

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

scripts/run_production.sh View file @ 6713d6d
1 1 #!/bin/bash -xe
2 2 source secrets.sh
3 3 source venv/bin/activate
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
  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 +newrelic-admin run-program uwsgi /etc/uwsgi/flashy.ini --touch-reload=/etc/uwsgi/flashy.ini