diff --git a/templates/default/sysctl.d-elasticsearch.conf.erb b/templates/default/sysctl.d-elasticsearch.conf.erb new file mode 100644 index 000000000..62ea54d86 --- /dev/null +++ b/templates/default/sysctl.d-elasticsearch.conf.erb @@ -0,0 +1 @@ +vm.max_map_count=262144 diff --git a/templates/default/tmpfiles.d-elasticsearch.conf.erb b/templates/default/tmpfiles.d-elasticsearch.conf.erb new file mode 100644 index 000000000..d079f28b9 --- /dev/null +++ b/templates/default/tmpfiles.d-elasticsearch.conf.erb @@ -0,0 +1 @@ +d /var/run/elasticsearch 0755 elasticsearch elasticsearch - -