config: added circus .ini for webapp
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
6b5d43a553
commit
62c0f014ab
1 changed files with 17 additions and 0 deletions
17
configs/circus.dynamicweb.ini.example
Normal file
17
configs/circus.dynamicweb.ini.example
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[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
|
||||||
|
|
||||||
|
[socket:dynamicweb]
|
||||||
|
host = 127.0.0.1
|
||||||
|
port = 8080
|
||||||
|
|
||||||
|
[watcher:dynamicweb]
|
||||||
|
cmd = /home/r/.virtualenvs/dynamicweb/bin/chaussette --backend gevent --fd $(circus.sockets.dynamicweb) dynamicweb.wsgi.application
|
||||||
|
use_sockets = True
|
||||||
|
numprocesses = 5
|
||||||
|
|
||||||
|
[env:dynamicweb]
|
||||||
|
PYTHONPATH = /home/r/dynamicweb
|
Loading…
Reference in a new issue