-
Notifications
You must be signed in to change notification settings - Fork 2
/
supervisord.conf
98 lines (86 loc) · 1.88 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
85
86
87
88
89
90
91
92
93
94
95
96
97
[unix_http_server]
file = /tmp/supervisor.sock
[program:debot]
autorestart = true
numprocs = 5
process_name = debot_%(process_num)s
autostart = false
redirect_stderr = True
stopwaitsecs = 10
startsecs = 10
priority = 999
command = python debot.py
startretries = 3
stdout_logfile = workerlogs/debot.log
[program:botlog]
autorestart = true
numprocs = 1
autostart = false
redirect_stderr = True
stopwaitsecs = 10
startsecs = 10
priority = 999
command = python logfromqueue.py bothits
startretries = 3
stdout_logfile = workerlogs/bothits.log
[program:fourohfourlog]
autorestart = true
numprocs = 1
autostart = false
redirect_stderr = True
stopwaitsecs = 10
startsecs = 10
priority = 999
command = python logfromqueue.py fof
startretries = 3
stdout_logfile = workerlogs/fof.log
[program:viewlog]
autorestart = true
numprocs = 1
autostart = false
redirect_stderr = True
stopwaitsecs = 10
startsecs = 10
priority = 999
command = python logfromqueue.py objectviews count
startretries = 3
stdout_logfile = workerlogs/objectviews.log
[program:otherlog]
autorestart = true
numprocs = 1
autostart = false
redirect_stderr = True
stopwaitsecs = 10
startsecs = 10
priority = 999
command = python logfromqueue.py other
startretries = 3
stdout_logfile = workerlogs/other.log
[program:count]
autorestart = true
numprocs = 1
autostart = false
redirect_stderr = True
stopwaitsecs = 10
startsecs = 10
priority = 999
command = python count.py count
startretries = 3
stdout_logfile = workerlogs/count.log
[supervisord]
minfds = 1024
minprocs = 200
loglevel = info
logfile = /tmp/supervisord.log
logfile_maxbytes = 50MB
nodaemon = false
pidfile = /tmp/supervisord.pid
logfile_backups = 10
[supervisorctl]
serverurl = unix:///tmp/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[inet_http_server]
username = guest
password = mypassword
port = 127.0.0.1:9001