runtime/examples/python/supervisor.conf
2020-02-02 22:06:11 +01:00

9 lines
285 B
Text

[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