-
Notifications
You must be signed in to change notification settings - Fork 2
/
circus.ini
42 lines (36 loc) · 1.01 KB
/
circus.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[circus]
loglevel = info
[watcher:mongo]
cmd = mongod --dbpath $(CIRCUS.ENV.HOME)/mmr-arthistory/mongodb
stdout_stream.filename = log/mongo.log
stdout_stream.max_bytes = 10000000
stderr_stream.filename = log/mongo.err
stderr_stream.max_bytes = 10000000
singleton = true
[watcher:nginx]
cmd = sudo /usr/sbin/nginx
args = -p $(CIRCUS.ENV.HOME)/mmr-arthistory -c $(CIRCUS.ENV.HOME)/mmr-arthistory/nginx.conf
graceful_timeout = 10
max_retry = 5
singleton = true
send_hup = true
stop_signal = QUIT
stdout_stream.class = FileStream
stdout_stream.filename = log/web-server.log
stdout_stream.max_bytes = 10000000
stderr_stream.class = FileStream
stderr_stream.filename = log/web-server-error.log
stderr_stream.max_bytes = 1000000
[watcher:mmr]
working_dir = $(CIRCUS.ENV.HOME)/mmr-arthistory
cmd = chaussette
args = --fd $(circus.sockets.web) --backend meinheld app.app
numprocesses = 3
use_sockets = True
stdout_stream.filename = log/mmr.log
stderr_stream.filename = log/mmr.err
[socket:web]
host = localhost
port = 8080
[env]
HOME = /root