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 https://github.com/elastic/elasticsearch/issues/68848 for more context.
This commit is contained in:
parent
3904913be5
commit
ba1e82849b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue