5e96844123
Change-Id: I92a894e31f725a20c684165f93dd4c34b9c8b450
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
|