Introduce es_java_home variable to allow setting JAVA_HOME env var in defaults file.
This commit is contained in:
parent
c115a70543
commit
a7e7618050
2 changed files with 5 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ es_api_sleep: 15
|
||||||
es_debian_startup_timeout: 10
|
es_debian_startup_timeout: 10
|
||||||
|
|
||||||
# JVM custom parameters
|
# JVM custom parameters
|
||||||
|
es_java_home: ''
|
||||||
es_jvm_custom_parameters: ''
|
es_jvm_custom_parameters: ''
|
||||||
|
|
||||||
# SSL/TLS parameters
|
# SSL/TLS parameters
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,11 @@
|
||||||
ES_HOME={{es_home}}
|
ES_HOME={{es_home}}
|
||||||
|
|
||||||
# Elasticsearch Java path
|
# Elasticsearch Java path
|
||||||
|
{% if es_java_home | length > 0 %}
|
||||||
|
JAVA_HOME={{ es_java_home }}
|
||||||
|
{% else %}
|
||||||
#JAVA_HOME=
|
#JAVA_HOME=
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Elasticsearch configuration directory
|
# Elasticsearch configuration directory
|
||||||
ES_PATH_CONF={{ es_conf_dir }}
|
ES_PATH_CONF={{ es_conf_dir }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue