configs: added circus config example.

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-05-31 05:36:57 -06:00
parent 3338894c23
commit 090df0798c
1 changed files with 4 additions and 3 deletions

View File

@ -1,16 +1,17 @@
[circus] [circus]
check_delay = 5
endpoint = tcp://127.0.0.1:5555 endpoint = tcp://127.0.0.1:5555
pubsub_endpoint = tcp://127.0.0.1:5556 pubsub_endpoint = tcp://127.0.0.1:5556
stats_endpoint = tcp://127.0.0.1:5557 stats_endpoint = tcp://127.0.0.1:5557
[watcher:web] [watcher:web]
cmd = /home/r/.virtualenvs/ungleich-django-cms/bin/chaussette --fd $(circus.sockets.web) --backend tornado dynamicweb.wsgi.application cmd = /home/r/.virtualenvs/dynamicweb-blog/bin/chaussette --fd $(circus.sockets.web) --backend tornado dynamicweb.wsgi.application
use_sockets = True use_sockets = True
numprocesses = 5 numprocesses = 5
copy_env = True copy_env = True
virtualenv = /home/r/.virtualenvs/ungleich-django-cms virtualenv = /home/r/.virtualenvs/dynamicweb-blog
[socket:web] [socket:web]
host = 0.0.0.0 host = 127.0.0.1
port = 8000 port = 8000
copy_env = True copy_env = True