Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit ba1e828

Browse files
authored
Use ES_JAVA_HOME instead of JAVA_HOME (#789)
This commit set `ES_JAVA_HOME` environment variable instead of `JAVA_HOME` when `es_java_home` environment variable is used. See elastic/elasticsearch#68848 for more context.
1 parent 3904913 commit ba1e828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/elasticsearch.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ES_TMPDIR={{ es_tmp_dir }}
1010

1111
# Elasticsearch Java path
1212
{% if es_java_home | length > 0 %}
13-
JAVA_HOME={{ es_java_home }}
13+
ES_JAVA_HOME={{ es_java_home }}
1414
{% else %}
15-
#JAVA_HOME=
15+
#ES_JAVA_HOME=
1616
{% endif %}
1717

1818
# Elasticsearch configuration directory

0 commit comments

Comments
 (0)