Skip to content

Instantly share code, notes, and snippets.

@Lothiraldan
Created May 18, 2013 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lothiraldan/5604551 to your computer and use it in GitHub Desktop.
Save Lothiraldan/5604551 to your computer and use it in GitHub Desktop.
Hello world tornado, circus config
[circus]
check_delay = 5
endpoint = tcp://127.0.0.1:5555
pubsub_endpoint = tcp://127.0.0.1:5556
stats_endpoint = tcp://127.0.0.1:5557
httpd = True
httpd_host = localhost
httpd_port = 8080
[watcher:dummy]
cmd = python hello_tornado.py $(circus.sockets.foo)
use_sockets = True
warmup_delay = 0
numprocesses = 1
stdout_stream.class = FancyStdoutStream
stderr_stream.class = FancyStdoutStream
copy_env=True
[socket:foo]
host = 0.0.0.0
port = 8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment