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:
commit
e01015b6a3
2 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue