Created
March 19, 2020 07:39
-
-
Save Weizhang2017/6b02f7ba2b160f2b3bb3614ddb6451e5 to your computer and use it in GitHub Desktop.
Supervisor configuration for flask app
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
[program:EmailValidationFlask] | |
command=gunicorn -c gunicorn.conf.py wsgi:app | |
directory=/root/EmailValidationFlask/ | |
user=root | |
autostart=true | |
autorestart=true | |
redirect_stderr=true | |
stdout_logfile=/root/EmailValidationFlask/gunicorn_supervisor.log | |
stdout_logfile_maxbytes=100MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment