Created
July 17, 2019 10:08
-
-
Save renshuki/d50e154dfdf9ff1dcd0094e8800174dc to your computer and use it in GitHub Desktop.
Kibana 7.x Systemd startup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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