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