supervisor.example.conf 496 B

123456789101112
  1. # When deploying to production, change DJANGO_SITE to one of PBP, CP, WP, IA
  2. # Also make sure you update the pbp.sock file below to be the same string
  3. [program:pbp]
  4. environment=
  5. DJANGO_SITE=PBP,
  6. DJANGO_DB_PASS=<password>
  7. command=/var/lib/virtualenvs/pbp/bin/uwsgi --socket /var/lib/django/run/PBP.sock --pythonpath /var/lib/django/pbp_com -w uwsgi --chmod
  8. autostart=true
  9. autorestart=true
  10. stdout_logfile=/var/log/uwsgi/pbp_com.log
  11. stderr_logfile=/var/log/uwsgi/pbp_com.err
  12. stopsignal=QUIT