Advertisement
Typhoon

Rosti.cz supervisor.d

Nov 4th, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. [program:app]
  2. command=/srv/venv/bin/gunicorn -u app -g app -b 0.0.0.0:8080 --error-logfile /srv/logs/error.log --access-logfile /srv/logs/access.log --reload app:app
  3. directory=/srv/app/
  4. autostart=true
  5. autorestart=true
  6. stdout_logfile=/srv/logs/python.log
  7. stdout_logfile_maxbytes=2MB
  8. stdout_logfile_backups=5
  9. redirect_stderr=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement