mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 01:24:20 +01:00
Minor change for template
This commit is contained in:
@@ -66,6 +66,7 @@ ES_GROUP={{es_group}}
|
|||||||
# When using Systemd, this setting is ignored and the LimitNOFILE defined in
|
# When using Systemd, this setting is ignored and the LimitNOFILE defined in
|
||||||
# /usr/lib/systemd/system/elasticsearch.service takes precedence
|
# /usr/lib/systemd/system/elasticsearch.service takes precedence
|
||||||
{% if es_max_open_files is defined %}
|
{% if es_max_open_files is defined %}
|
||||||
|
#MAX_OPEN_FILES
|
||||||
MAX_OPEN_FILES={{es_max_open_files}}
|
MAX_OPEN_FILES={{es_max_open_files}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -75,6 +76,7 @@ MAX_OPEN_FILES={{es_max_open_files}}
|
|||||||
# When using Systemd, the LimitMEMLOCK property must be set
|
# When using Systemd, the LimitMEMLOCK property must be set
|
||||||
# in /usr/lib/systemd/system/elasticsearch.service
|
# in /usr/lib/systemd/system/elasticsearch.service
|
||||||
{% if m_lock_enabled %}
|
{% if m_lock_enabled %}
|
||||||
|
#MAX_LOCKED_MEMORY=
|
||||||
MAX_LOCKED_MEMORY=unlimited
|
MAX_LOCKED_MEMORY=unlimited
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user