Created
December 9, 2014 05:56
-
-
Save wong2/70f5a248718b5f7f18c9 to your computer and use it in GitHub Desktop.
Minimal supervisor config file for gunicorn
This file contains hidden or 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
| ; Minimal sample supervisor config file. | |
| ; | |
| ; For more information on the config file, please see: | |
| ; http://supervisord.org/configuration.html | |
| [inet_http_server] | |
| port=127.0.0.1:9001 | |
| username=user | |
| password=password | |
| [supervisord] | |
| logfile=/tmp/supervisord.log | |
| pidfile=/tmp/supervisord.pid | |
| [supervisorctl] | |
| serverurl=http://127.0.0.1:9001 | |
| username=user | |
| password=password | |
| [program:gunicorn] | |
| command=gunicorn app:app -w 4 -b 127.0.0.1:5000 | |
| directory=/working/directory/ | |
| autorestart=true | |
| redirect_stderr=true | |
| stdout_logfile=/var/log/gunicorn.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment