Refactor to more common options for jvm
This commit is contained in:
parent
f80fe56af9
commit
425278923f
2 changed files with 6 additions and 4 deletions
|
|
@ -36,5 +36,5 @@ pid_dir: ''
|
|||
log_dir: ''
|
||||
conf_dir: ''
|
||||
data_dirs: ''
|
||||
# JMX remote monitoring
|
||||
jmx_remote_monitoring_enabled: true
|
||||
# JVM custom parameters
|
||||
es_jvm_custom_parameters: ''
|
||||
|
|
|
|||
|
|
@ -106,6 +106,8 @@
|
|||
# WARNING: This option will be removed in Elasticsearch 6.0.0 and is provided
|
||||
# only for migration purposes.
|
||||
#-Delasticsearch.json.allow_unquoted_field_names=true
|
||||
{% if jmx_remote_monitoring_enabled == true %}
|
||||
-Dcom.sun.management.jmxremote
|
||||
{% if es_jvm_custom_parameters !='' %}
|
||||
{% for item in es_jvm_custom_parameters %}
|
||||
{{ item }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue