X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-logging.git;a=blobdiff_plain;f=docker-build%2Felasticsearch%2Fsupervisord.conf;fp=docker-build%2Felasticsearch%2Fsupervisord.conf;h=0a87d34295e5ef74edc80bb5cc2222e4004dc3f8;hp=0000000000000000000000000000000000000000;hb=e4c698f4ece22b2fe2b212801b6d5597c91535e4;hpb=f0e0ff7d87fca007a03f476ce8a8a5d11d431177 diff --git a/docker-build/elasticsearch/supervisord.conf b/docker-build/elasticsearch/supervisord.conf new file mode 100644 index 0000000..0a87d34 --- /dev/null +++ b/docker-build/elasticsearch/supervisord.conf @@ -0,0 +1,55 @@ +[unix_http_server] +file=/run/supervisord.sock ; (the path to the socket file) +chmod = 0770 +chown = root:root +username = dummy +password = dummy + +[supervisord] +user=root +logfile=/dev/null +logfile_maxbytes=0 +loglevel=info +pidfile=/var/run/supervisor/supervisord.pid +nodaemon=true +minfds=1024 +minprocs=200 + +[supervisorctl] +serverurl=unix:///run/supervisord.sock +username = dummy +password = dummy + +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + +[program:elasticsearch] +command=/usr/share/elasticsearch/bin/elasticsearch +user=202 +startsecs=3 +startretries=1 +stopwaitsecs = 3 +priority = 1 +redirect_stderr=true +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 + +[program:crond] +command=/usr/sbin/crond -n -s +startsecs=3 +startretries=1 +stopwaitsecs = 3 +priority = 2 +redirect_stderr=true +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 + +[program:setindex] +command=/usr/share/elasticsearch/elasticsearch-setindex.sh +startsecs=3 +startretries=1 +stopwaitsecs = 3 +priority = 2 +redirect_stderr=true +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0