0b0efcb841
Presently the node role assignment is only automatic. Auto selection makes the assumption every node is identical however in many deployments a deployer may want to assign node roles to specific hardware thereby optimizing resources and improving general performance. This change adds and documents the ability to set the node roles within an ansible inventory. Change-Id: I22a2b636cb1441f17e575439b55ca64f9c7b0336 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
15 lines
385 B
Django/Jinja
15 lines
385 B
Django/Jinja
{% include 'templates/systemd.general-overrides.conf.j2' %}
|
|
|
|
# This first line clears the source ExecStart
|
|
ExecStart=
|
|
# This runs our ExecStart as an override.
|
|
ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid
|
|
|
|
{% if elastic_memory_lock | bool %}
|
|
# Limit memory usage
|
|
LimitMEMLOCK=infinity
|
|
{% endif %}
|
|
|
|
# Number of File Descriptors
|
|
LimitNOFILE=65536
|