<% @path = '/etc/default/elasticsearch' %> # Run ElasticSearch as this user ID and group ID #ES_USER=elasticsearch #ES_GROUP=elasticsearch # Heap Size (defaults to 256m min, 1g max) #ES_HEAP_SIZE=2g # Heap new generation #ES_HEAP_NEWSIZE= # max direct memory #ES_DIRECT_SIZE= # Maximum number of open files, defaults to 65535. #MAX_OPEN_FILES=65535 # Maximum locked memory size. Set to "unlimited" if you use the # bootstrap.mlockall option in elasticsearch.yml. You must also set # ES_HEAP_SIZE. #MAX_LOCKED_MEMORY=unlimited # Maximum number of VMA (Virtual Memory Areas) a process can own #MAX_MAP_COUNT=262144 # ElasticSearch log directory LOG_DIR=<%= rubber_env.elasticsearch_log_dir %> # ElasticSearch data directory DATA_DIR=<%= rubber_env.elasticsearch_data_dir %> # ElasticSearch work directory WORK_DIR=<%= rubber_env.elasticsearch_work_dir %> # ElasticSearch configuration directory #CONF_DIR=/etc/elasticsearch # ElasticSearch configuration file (elasticsearch.yml) #CONF_FILE=/etc/elasticsearch/elasticsearch.yml # Additional Java OPTS #ES_JAVA_OPTS= # Configure restart on package upgrade (true, every other setting will lead to not restarting) #RESTART_ON_UPGRADE=true