ports/textproc/elasticsearch6/files/patch-config_jvm.options
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

11 lines
328 B
Text

--- config/jvm.options.orig 2018-03-01 23:04:45 UTC
+++ config/jvm.options
@@ -87,7 +87,7 @@
8:-XX:+PrintGCDateStamps
8:-XX:+PrintTenuringDistribution
8:-XX:+PrintGCApplicationStoppedTime
-8:-Xloggc:logs/gc.log
+8:-Xloggc:${ES_TMPDIR}/gc.log
8:-XX:+UseGCLogFileRotation
8:-XX:NumberOfGCLogFiles=32
8:-XX:GCLogFileSize=64m