-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisord.conf
69 lines (60 loc) · 2.19 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
[unix_http_server]
file=/home/david/ccrp.site/var/supervisor.sock
chmod=0600
[supervisorctl]
serverurl=unix:///home/david/ccrp.site/var/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[supervisord]
logfile=/home/david/ccrp.site/var/log/supervisord.log
logfile_maxbytes=5MB
logfile_backups=10
loglevel=info
pidfile=/home/david/ccrp.site/var/supervisord.pid ;
childlogdir=/home/david/ccrp.site/var/log
nodaemon=false ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
directory=/home/david/ccrp.site
[program:zeo]
command = /home/david/ccrp.site/bin/zeoserver foreground
redirect_stderr = true
autostart= true
autorestart = true
directory = /home/david/ccrp.site
stdout_logfile = /home/david/ccrp.site/var/log/zeo-stdout.log
stderr_logfile = /home/david/ccrp.site/var/log/zeo-stderr.log
[program:1]
command = /home/david/ccrp.site/bin/instance1 console
redirect_stderr = true
autostart= true
autorestart = true
directory = /home/david/ccrp.site
stdout_logfile = /home/david/ccrp.site/var/log/instance1-stdout.log
stderr_logfile = /home/david/ccrp.site/var/log/instance1-stderr.log
[program:1]
command = /home/david/ccrp.site/bin/instance1 console
redirect_stderr = true
autostart= true
autorestart = true
directory = /home/david/ccrp.site
stdout_logfile = /home/david/ccrp.site/var/log/instance1-stdout.log
stderr_logfile = /home/david/ccrp.site/var/log/instance1-stderr.log
[program:2]
command = /home/david/ccrp.site/bin/instance2 console
redirect_stderr = true
autostart= true
autorestart = true
directory = /home/david/ccrp.site
stdout_logfile = /home/david/ccrp.site/var/log/instance2-stdout.log
stderr_logfile = /home/david/ccrp.site/var/log/instance2-stderr.log
[group:instance]
programs = 1,2
[program:haproxy]
command = /home/david/ccrp.site/bin/haproxy -f haproxy.conf
redirect_stderr = true
autostart= true
autorestart = true
directory = /home/david/ccrp.site
stdout_logfile = /home/david/ccrp.site/var/log/haproxy-stdout.log
stderr_logfile = /home/david/ccrp.site/var/log/haproxy-stderr.log