supervisor.conf.template 358 B

12345678910
  1. [program:gunicorn_%(proj_name)s]
  2. command=%(venv_path)s/bin/gunicorn -c gunicorn.conf.py -p gunicorn.pid %(proj_app)s.wsgi:application
  3. directory=%(proj_path)s
  4. user=%(user)s
  5. autostart=true
  6. stdout_logfile = /home/%(user)s/logs/%(proj_name)s_supervisor
  7. autorestart=true
  8. redirect_stderr=true
  9. environment=LANG="%(locale)s",LC_ALL="%(locale)s",LC_LANG="%(locale)s"