supervisor配置kibana
程序员文章站
2022-07-03 18:34:42
在/etc/supervisor/conf.d/目录下添加kibana.conf [program:kibana]command=/opt/kibana-6.8.1-linux-x86_64/bin/kibanadirectory=/opt/kibana-6.8.1-linux-x86_64/bin ......
在/etc/supervisor/conf.d/目录下添加kibana.conf
[program:kibana]
command=/opt/kibana-6.8.1-linux-x86_64/bin/kibana
directory=/opt/kibana-6.8.1-linux-x86_64/bin/
numprocs=1
priority=3
autostart=true
startretries=3
autorestart=true
redirect_stderr=true
stdout_logfile_maxbytes=50mb
stdout_logfile_backups=10
stdout_logfile=/var/log/supervisor/supervisor_kibana.log
重启supervisor
搞定:
so easy!