在/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!