Simplify ElasticSearch to make it more robust
[ta/caas-logging.git] / docker-build / elasticsearch / supervisord.conf
1 [unix_http_server]
2 file=/run/supervisord.sock   ; (the path to the socket file)
3 chmod = 0770
4 chown = root:root
5 username = dummy
6 password = dummy
7
8 [supervisord]
9 user=root
10 logfile=/dev/null
11 logfile_maxbytes=0
12 loglevel=info
13 pidfile=/var/run/supervisor/supervisord.pid
14 nodaemon=true
15 minfds=1024
16 minprocs=200
17
18 [supervisorctl]
19 serverurl=unix:///run/supervisord.sock
20 username = dummy
21 password = dummy
22
23 [rpcinterface:supervisor]
24 supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
25
26 [program:elasticsearch]
27 command=/usr/share/elasticsearch/bin/elasticsearch
28 user=202
29 startsecs=3
30 startretries=1
31 stopwaitsecs = 3
32 priority = 1
33 redirect_stderr=true
34 stdout_logfile=/dev/stdout
35 stdout_logfile_maxbytes=0
36
37 [program:crond]
38 command=/usr/sbin/crond -n -s
39 startsecs=3
40 startretries=1
41 stopwaitsecs = 3
42 priority = 2
43 redirect_stderr=true
44 stdout_logfile=/dev/stdout
45 stdout_logfile_maxbytes=0
46
47 [program:setindex]
48 command=/usr/share/elasticsearch/elasticsearch-setindex.sh
49 startsecs=3
50 startretries=1
51 stopwaitsecs = 3
52 priority = 2
53 redirect_stderr=true
54 stdout_logfile=/dev/stdout
55 stdout_logfile_maxbytes=0