-
Notifications
You must be signed in to change notification settings - Fork 4
/
supervisord.conf
58 lines (45 loc) · 1.24 KB
/
supervisord.conf
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[unix_http_server]
file = /tmp/supervisor_deglet.sock
[supervisorctl]
serverurl = unix:///tmp/supervisor_deglet.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisord]
logfile = %(here)s/service/supervisord.log
pidfile = %(here)s/service/supervisord.pid
childlogdir = %(here)s/service/log
loglevel = info
[group:bws]
programs=locker,messagebroker,bcmonitor,bwsmain
[program:locker]
directory = js/bitcore-wallet-service
command = node locker/locker.js
numprocs = 1
killasgroup = 1
[program:messagebroker]
directory = js/bitcore-wallet-service
command = node messagebroker/messagebroker.js
numprocs = 1
killasgroup = 1
[program:bcmonitor]
directory = js/bitcore-wallet-service
command = node bcmonitor/bcmonitor.js
numprocs = 1
killasgroup = 1
[program:bwsmain]
directory = js/bitcore-wallet-service
command = node bws.js
numprocs = 1
killasgroup = 1
[program:cosigner]
directory = js/cosigner
environment = NODE_CONFIG_DIR="%(here)s/config"
command = node server.js
numprocs = 1
killasgroup = 1
[program:apimain]
directory = .
environment = DEGLET_CONFIG="%(here)s/config/default.json"
command = gunicorn -c %(here)s/config/gunicorn.conf.py sw.__main__:app
numprocs = 1
killasgroup = 1