I have installed Kibana and elastic search in Linux (RHEL). I am able to run both kibana and elastic search manually. I want to start the service. Unfortunately, I am unable to find kibana.service file anywhere. I have tried to create kibana.service file and start it. But, I am not able to do.
Below it the error msg I get
● kibana.service - Kibana
Loaded: loaded (/etc/systemd/system/kibana.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2019-11-12 11:17:32 CET; 6min ago
Docs: https://www.elastic.co/guide
Process: 12822 ExecStart=/opt/ELK_Stack/Kibana/kibana-6.8.0/bin/kibana -c /etc/kibana/kibana.yml (code=exited, status=1/FAILURE)
Main PID: 12822 (code=exited, status=1/FAILURE)
Nov 12 11:17:30 ****************** systemd[1]: Started Kibana.
Nov 12 11:17:32 ****************** systemd[1]: kibana.service: main process exited, code=exited, status=1/FAILURE
Nov 12 11:17:32 ****************** systemd[1]: Unit kibana.service entered failed state.
Nov 12 11:17:32 ****************** systemd[1]: kibana.service failed.
Kibana.service
Kibana systemd service
[Unit]
Description=Kibana
Documentation=https://www.elastic.co/guide
After=network.target
[Service]
Type=simple
EnvironmentFile= /etc/default/kibana
User=kibana
Group=kibana
ExecStart= /opt/ELK_Stack/Kibana/kibana-6.8.0/bin/kibana "-c /etc/kibana/kibana.yml"
[Install]
WantedBy=multi-user.target
Kindly help me in this.