forked from llybin/burst_explorer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
supervisord.conf
84 lines (74 loc) · 2.07 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[unix_http_server]
file = /tmp/supervisor.sock
chmod = 0700
username = dummy
password = dummy
[inet_http_server]
port = 9001
username = dummy
password = dummy
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl = unix:///tmp/supervisor.sock
username = dummy
password = dummy
[supervisord]
user = julia
nodaemon = true
pidfile = /tmp/supervisord.pid
logfile = /dev/null
loglevel = error
logfile_maxbytes = 0
[program:web]
command = /home/julia/burst_explorer/venv/bin/gunicorn config.wsgi -c gunicorn.conf.py
autostart = true
autorestart = true
startsecs = 5
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:multiout]
command = sh -c '/home/julia/burst_explorer/venv/bin/python manage.py multiout && sleep 10'
autostart = true
autorestart = true
startsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:peers]
command = sh -c '/home/julia/burst_explorer/venv/bin/python manage.py peers && sleep 300'
autostart = true
autorestart = true
startsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:watch_new_block]
command = /home/julia/burst_explorer/venv/bin/python manage.py watch_new_block
autostart = true
autorestart = true
startsecs = 1
stopwaitsecs = 1
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:celery]
command = /home/julia/burst_explorer/venv/bin/dotenv run /home/julia/burst_explorer/venv/bin/celery -A config worker -l info
autostart = true
autorestart = true
startsecs = 5
stopwaitsecs = 60
stopasgroup = true
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0
[program:celery-beat]
command = /home/julia/burst_explorer/venv/bin/dotenv run /home/julia/burst_explorer/venv/bin/celery -A config beat -l info -s /tmp/celerybeat-schedule.db --pidfile /tmp/celeryd.pid
autostart = true
autorestart = true
startsecs = 5
stopasgroup=true
redirect_stderr = true
stdout_logfile = /dev/stdout
stdout_logfile_maxbytes = 0