-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
73 lines (63 loc) · 1.68 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
; BEWARE: This supervisord.conf file assume that supervisord will be run
; in the context of the right virtualenv.
[unix_http_server]
file=/tmp/dradis-supervisor.sock
[inet_http_server]
port=127.0.0.1:17337
[supervisord]
logfile=/tmp/dradis-supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/tmp/dradis-supervisord.pid
nodaemon=false
minfds=1024
minprocs=200
identifier=dradis-supervisor
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/dradis-supervisor.sock
prompt=dradis-supervisor
history_file=~/.sc_history
[program:celery]
command=celery -A dradis.workers.celery_worker.celery worker --autoreload -l INFO
directory=/home/signez/git
numprocs=1
stdout_logfile=/tmp/dradis-celery-worker.log
stderr_logfile=/tmp/dradis-celery-worker.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 10
killasgroup=true
[program:webserver]
command=python2 -mdradis.workers.webserver
directory=/home/signez/git
numprocs=1
stdout_logfile=/tmp/dradis-webserver.log
stderr_logfile=/tmp/dradis-webserver.log
stopsignal=QUIT
autostart=true
autorestart=true
startsecs=10
stopasgroup=true
killasgroup=true
[program:liquidsoap_watcher]
command=python2 -mdradis.workers.liquidsoap_watcher
directory=/home/signez/git
numprocs=1
stdout_logfile=/tmp/dradis-liquidsoap-watcher.log
stderr_logfile=/tmp/dradis-liquidsoap-watcher.log
autostart=true
autorestart=true
startsecs=10
[program:agency]
command=python2 -mdradis.workers.agency
directory=/home/signez/git
numprocs=1
stdout_logfile=/tmp/dradis-agency.log
stderr_logfile=/tmp/dradis-agency.log
autostart=true
autorestart=true
startsecs=10