opnsense-ports/textproc/elasticsearch7/files/patch-config_elasticsearch.yml
Franco Fichtner 7fbf495dcc */*: sync with upstream
Taken from: HardenedBSD
2021-07-09 15:07:54 +02:00

22 lines
606 B
YAML

--- config/elasticsearch.yml.orig 2021-06-10 20:59:11 UTC
+++ config/elasticsearch.yml
@@ -31,10 +31,12 @@
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
+path.data: /var/db/elasticsearch
#
# Path to log files:
#
#path.logs: /path/to/logs
+path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
@@ -80,3 +82,6 @@
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
+
+# ml is not supported on FreeBSD
+xpack.ml.enabled: false