在/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/numprocs=1priority=3autostart=truestartretries=3autorestart=trueredirect_stderr=truestdout_logfile_maxbytes=50MBstdout_logfile_backups=10stdout_logfile=/var/log/supervisor/supervisor_kibana.log重启supervisor
搞定:
so easy!