slaprunner: slapproxy is hold by supervisord
[slapos.git] / software / slaprunner / template / supervisord.conf.in
1 [unix_http_server]
2 file = {{ supervisord['socket_path'] }}
3
4 [supervisorctl]
5 serverurl = {{ supervisord['socket_name'] }}
6
7 [inet_http_server]
8 port = {{ supervisord['server'] }}
9
10 [supervisord]
11 logfile = {{ supervisord['logfile'] }}
12 pidfile = {{ supervisord['pidfile'] }}
13
14 [rpcinterface:supervisor]
15 supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
16
17 [program:{{- supervisord['slapgrid-sr'] -}}]
18 command = {{ supervisord['slapgrid-sr-command'] }}
19 process_name = {{ supervisord['slapgrid-sr'] }}
20 numprocs = {{ supervisord['numprocs'] }}
21 autostart = {{ supervisord['autostart'] }}
22 exitcodes = {{ supervisord['exitcodes'] }}
23 startretries = {{ supervisord['slapgrid-sr-startretries'] }}
24 startsecs = {{ supervisord['startsecs'] }}
25 autorestart = {{ supervisord['autorestart'] }}
26 stdout_logfile = {{ supervisord['no_logfile'] }}
27 stderr_logfile = {{ supervisord['no_logfile'] }}
28 directory = {{ supervisord['directory'] }}
29 environment = PATH="{{- supervisord['path'] -}}"
30
31 [program:{{- supervisord['slapgrid-cp'] -}}]
32 command = {{ supervisord['slapgrid-cp-command'] }}
33 process_name = {{ supervisord['slapgrid-cp'] }}
34 numprocs = {{ supervisord['numprocs'] }}
35 autostart = {{ supervisord['autostart'] }}
36 exitcodes = {{ supervisord['exitcodes'] }}
37 startretries = {{ supervisord['slapgrid-cp-startretries'] }}
38 startsecs = {{ supervisord['startsecs'] }}
39 autorestart = {{ supervisord['autorestart'] }}
40 stdout_logfile = {{ supervisord['no_logfile'] }}
41 stderr_logfile = {{ supervisord['no_logfile'] }}
42 directory = {{ supervisord['directory'] }}
43 environment = PATH="{{- supervisord['path'] -}}"
44
45 [program:{{- supervisord['slapproxy'] -}}]
46 command = {{ supervisord['slapproxy-command'] }}
47 process_name = {{ supervisord['slapproxy'] }}
48 numprocs = {{ supervisord['numprocs'] }}
49 autostart = {{ supervisord['slapproxy-autostart'] }}
50 startsecs = {{ supervisord['slapproxy-startsecs'] }}
51 exitcodes = {{ supervisord['exitcodes'] }}
52 autorestart = {{ supervisord['slapproxy-autorestart'] }}
53 stdout_logfile = {{ supervisord['no_logfile'] }}
54 stderr_logfile = {{ supervisord['no_logfile'] }}
55 directory = {{ supervisord['directory'] }}
56 environment = PATH="{{- supervisord['path'] -}}"
57
58 [eventlistener:listener-slapgrid]
59 command = {{ listener_slapgrid }}
60 events = PROCESS_STATE_EXITED
61 stdout_logfile = {{ supervisord['no_logfile'] }}
62 stderr_logfile = {{ supervisord['stderr_logfile'] }}