supervisor,elastic的守护进程

作者:谢高升 发布:2021-07-01 浏览:977次


[program:elastic]
command=su -c "/home/es/elasticsearch-7.13.2/bin/elasticsearch" es
directory=/home/es/elasticsearch-7.13.2
autorestart=true
startsecs=3
startretries=3
stdout_logfile=/www/server/panel/plugin/supervisor/log/elastic.out.log
stderr_logfile=/www/server/panel/plugin/supervisor/log/elastic.err.log
stdout_logfile_maxbytes=2MB
stderr_logfile_maxbytes=2MB
user=root
priority=999
numprocs=1
process_name=%(program_name)s_%(process_num)02d


感谢博主,喝杯咖啡~