summaryrefslogtreecommitdiff
path: root/scripts/supervisord.conf
blob: 860b5470ec11e2fe9b8ec9770281e79aa7b504aa (plain) (blame)
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
[unix_http_server]
file=%(here)s/supervisor.sock
chmod=0700

[inet_http_server]
port=127.0.0.1:9001

[supervisord]
logfile=%(here)s/logs/supervisord.log
loglevel=info
pidfile=%(here)s/supervisord.pid
nodaemon=false
identifier=sydra
childlogdir=%(here)s/logs
;environment=SYDRA_TEST=1

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix://%(here)s/supervisor.sock
prompt=sydractl

[program:manager]
command=/home/equinox/spreadspace/sydra/scripts/sydra-manager.sh %(here)s %(group_name)s
process_name=manager
numprocs=1
priority=10
autostart=true
autorestart=true
startsecs=0
startretries=10

[program:overview]
command=/home/equinox/spreadspace/sydra/scripts/sydra-receiver.sh %(here)s %(program_name)s %(process_num)02d
process_name=%(process_num)02d
numprocs=6
priority=20
autostart=true
autorestart=true
startsecs=0
startretries=10

[program:main]
command=/home/equinox/spreadspace/sydra/scripts/sydra-receiver.sh %(here)s %(program_name)s
process_name=main
numprocs=1
priority=30
autostart=true
autorestart=true
startsecs=0
startretries=10

[program:sender]
command=/home/equinox/spreadspace/sydra/scripts/sydra-sender.sh %(here)s
process_name=sender
numprocs=1
priority=20
autostart=true
autorestart=true
startsecs=0
startretries=10

[group:e14]
programs=manager,overview,main,sender