manage ES_JAVA_OPTS in template

This commit is contained in:
Thierno IB. BARRY 2016-10-07 15:08:58 +02:00
parent 913e773c2c
commit f3056c7a1d
2 changed files with 16 additions and 8 deletions

View file

@ -33,7 +33,13 @@ ES_HEAP_SIZE={{es_heap_size}}
#ES_DIRECT_SIZE=
# Additional Java OPTS
{% if es_java_opts is defined and es_java_opts %}
{% for java_opt in es_java_opts %}
ES_JAVA_OPTS="{{java_opt}}"
{% endfor %}
{% else %}
#ES_JAVA_OPTS=
{% endif %}
# Configure restart on package upgrade (true, every other setting will lead to not restarting)
#ES_RESTART_ON_UPGRADE=true