runtime/examples/python/supervisor.conf

10 lines
285 B
Plaintext
Raw Normal View History

2020-02-02 21:06:11 +00:00
[program:app]
command=/srv/venv/bin/gunicorn -u app -g app -b 0.0.0.0:8080 --access-logfile - --error-logfile - --reload app
directory=/srv/app
autostart=true
autorestart=true
stdout_logfile=/srv/log/python.log
stdout_logfile_maxbytes=2MB
stdout_logfile_backups=5
redirect_stderr=true