Skip to content

Instantly share code, notes, and snippets.

@renshuki
Created July 17, 2019 10:08
Show Gist options
  • Select an option

  • Save renshuki/d50e154dfdf9ff1dcd0094e8800174dc to your computer and use it in GitHub Desktop.

Select an option

Save renshuki/d50e154dfdf9ff1dcd0094e8800174dc to your computer and use it in GitHub Desktop.
Kibana 7.x Systemd startup script
[Unit]
Description=Kibana
StartLimitIntervalSec=30
StartLimitBurst=3
[Service]
Type=simple
User=kibana
Group=kibana
# Load env vars from /etc/default/ and /etc/sysconfig/ if they exist.
# Prefixing the path with '-' makes it try to load, but if the file doesn't
# exist, it continues onward.
EnvironmentFile=-/etc/default/kibana
EnvironmentFile=-/etc/sysconfig/kibana
ExecStart=/usr/share/kibana/bin/kibana "-c /etc/kibana/kibana.yml"
Restart=always
WorkingDirectory=/
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment