Last active
April 12, 2018 19:27
-
-
Save ryenus/5849422 to your computer and use it in GitHub Desktop.
/etc/systemd/system/elasticsearch.service.d/env.conf
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
[Service] | |
Environment=PATH=/opt/java/bin:/usr/local/sbin:/usr/local/bin:/usr/bin | |
Environment=ES_HOME=/usr/share/elasticsearch | |
Environment=ES_INCLUDE=/usr/share/elasticsearch/bin/elasticsearch.in.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To start elasticsearch as a systemd service in Arch Linux, save this file as:
Then enable and start the service via: