Permalink
Find file
8ad0554 Feb 23, 2011
13 lines (12 sloc) 495 Bytes
# -*- conf -*-
[program:chat]
process_name = chat-%(process_num)s
environment = PYTHONPATH="%(here)s/apps/tornado-production-skeleton/current"
command = python -m chat.chatdemo
--port=%(process_num)s
--log_file_prefix=%(here)s/logs/%(program_name)s-%(process_num)s.log
# Increase numprocs to run multiple processes on different ports.
# Note that the chat demo won't actually work in that configuration
# because it assumes all listeners are in one process.
numprocs = 1
numprocs_start = 8000