Last active
March 29, 2016 02:35
-
-
Save hedcler/0995292b772467bea4fc to your computer and use it in GitHub Desktop.
Supervisor: TornadoWeb + Virtualenv
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:<application_name>] | |
process_name=APP_%(process_num)s | |
directory=/websites/<application_path>/ | |
command=/websites/<application_path>/venv/bin/python app.py --port=%(process_num)s | |
startsecs=2 | |
user=www | |
stdout_logfile=/websites/<application_path>/logs/out-%(process_num)s.log | |
stderr_logfile=/websites/<application_path>/logs/err-%(process_num)s.log | |
numprocs=4 | |
numprocs_start=10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment