Created
July 7, 2017 17:24
-
-
Save shudarshon/9f3e2ea10371054a7d2608f2c1c7ac81 to your computer and use it in GitHub Desktop.
This is a supervisor script for application server UWSGI which serves django applications.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:uwsgi] | |
command=/home/ubuntu/virtualenv/app/bin/uwsgi --http 0.0.0.0:8000 -b 65535 --chdir /home/ubuntu/app --wsgi-file /home/ubuntu/app/appdir/wsgi.py --virtualenv /home/ubuntu/virtualenv/app | |
user=ubuntu | |
numprocs=1 | |
stdout_logfile=/var/log/uwsgi/access.log | |
stderr_logfile=/var/log/uwsgi/error.log | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stopwaitsecs=300 | |
killasgroup=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment