Gunicorn example conf

Linux December 12, 2019 python

gunicorn example conf

python
[program:project]
command=/path/to/env/bin/gunicorn  --workers 3 --bind unix:/path/to/project.sock project.wsgi
directory=/path/to/project/project
autostart=true
autorestart=true
stderr_logfile=/var/log/project.err.log
stdout_logfile=/var/log/project.out.log