Last active
November 30, 2022 13:17
-
-
Save abn/618fbac00a1814931af5 to your computer and use it in GitHub Desktop.
logstash systemd service file
This file contains 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=Logstash | |
Documentation=https://www.elastic.co/products/logstash | |
After=network.target | |
ConditionPathExists=/etc/logstash.conf | |
[Service] | |
ExecStart=/opt/logstash/bin/logstash agent -f /etc/logstash.conf | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks - lifesaver !