Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Use ES_JAVA_HOME instead of JAVA_HOME
Browse files Browse the repository at this point in the history
This commit set `ES_JAVA_HOME` environment variable instead of
`JAVA_HOME` when `es_java_home` environment variable is used.

See elastic/elasticsearch#68848 fro more
context.
  • Loading branch information
jmlrt committed Mar 18, 2021
1 parent 4f01bc7 commit f6deb75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/elasticsearch.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ES_TMPDIR={{ es_tmp_dir }}

# Elasticsearch Java path
{% if es_java_home | length > 0 %}
JAVA_HOME={{ es_java_home }}
ES_JAVA_HOME={{ es_java_home }}
{% else %}
#JAVA_HOME=
#ES_JAVA_HOME=
{% endif %}

# Elasticsearch configuration directory
Expand Down

0 comments on commit f6deb75

Please sign in to comment.