Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

/etc/systemd/system/elasticsearch.service.d/env.conf

View env.conf
1 2 3 4
[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
Owner
ryenus commented

To start elasticsearch as a systemd service in Arch Linux, save this file as:

/etc/systemd/system/elasticsearch.service.d/env.conf

Then enable and start the service via:

sudo systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.