1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-25 22:50:32 -04:00
ports/textproc/elasticsearch6/files/patch-config_elasticsearch.yml
Mark Felder a50ae25d70 textproc/elasticsearch6: Fix run issues
- Elastic no longer accepts -Epath.conf argument. Change to ES_PATH_CONF env
- Elastic was not honoring the elasticsearch_tmpdir rc.conf variable. Remove.
  The default behavior is to use mktemp for a unique tmpdir in /tmp. This seems sane,
  especially when running multiple profiles.
- Patch jvm.options to set a writable location for gc.log, which will be the tmpdir.
  There is not an easy way to automatically point this to the log dir, so it needs
  a unique location when running muliple profiles.
- devel/jca is also a BUILD dependency to fix build outside poudriere

PR:		226265
2018-03-01 23:37:20 +00:00

15 lines
434 B
YAML

--- config/elasticsearch.yml.orig 2018-02-16 18:57:55 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 -----------------------------------
#