Skip to content

@ryenus /env.conf
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
/etc/systemd/system/elasticsearch.service.d/env.conf
[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
@ryenus
Owner

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.