Merge pull request #681 from timdev/topic/allow-set-java-home

Introduce es_java_home variable to allow setting JAVA_HOME
This commit is contained in:
Julien Mailleret 2020-03-20 15:25:41 +01:00 committed by GitHub
commit e01015b6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -47,6 +47,7 @@ es_api_sleep: 15
es_debian_startup_timeout: 10
# JVM custom parameters
es_java_home: ''
es_jvm_custom_parameters: ''
# SSL/TLS parameters

View file

@ -6,7 +6,11 @@
ES_HOME={{es_home}}
# Elasticsearch Java path
{% if es_java_home | length > 0 %}
JAVA_HOME={{ es_java_home }}
{% else %}
#JAVA_HOME=
{% endif %}
# Elasticsearch configuration directory
ES_PATH_CONF={{ es_conf_dir }}