ogn-python/deployment/supervisor/gunicorn.conf

10 wiersze
309 B
Plaintext

[program:gunicorn]
environment=OGN_CONFIG_MODULE='config/default.py'
command=/home/pi/ogn-python/venv/bin/gunicorn --bind :5000 ogn_python:app
directory=/home/pi/ogn-python
user=pi
stderr_logfile=/var/log/supervisor/gunicorn.log
stdout_logfile=/var/log/supervisor/gunicorn.log
autostart=true
autorestart=true