Skip to content

Instantly share code, notes, and snippets.

@jdolitsky
Last active August 29, 2015 14:06
Show Gist options
  • Save jdolitsky/c187ae87d7a0d84ac99b to your computer and use it in GitHub Desktop.
Save jdolitsky/c187ae87d7a0d84ac99b to your computer and use it in GitHub Desktop.
[program:hello]
command = python /path/hello.py --port=80%(process_num)02d
process_name = %(program_name)s-80%(process_num)02d
stdout_logfile = /path/hello-80%(process_num)02d.log
numprocs = 5
numprocs_start = 1
; tornado run port list:
; 127.0.0.1:8001 (first)
; 127.0.0.1:8002
; 127.0.0.1:8003
; 127.0.0.1:8004
; 127.0.0.1:8005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment