mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
* Fix using jvm.options file * Add errors to rc script when using legacy rc.conf options PR: 214572, 214983 Submitted by: purpleritza@gmail.com Reported by: purpleritza@gmail.com, Mark.Martinec@ijs.si
11 lines
441 B
Text
11 lines
441 B
Text
--- bin/elasticsearch.orig 2016-12-02 11:42:56 UTC
|
|
+++ bin/elasticsearch
|
|
@@ -112,7 +112,7 @@ ES_HOME=`cd "$ES_HOME"; pwd`
|
|
|
|
if [ -z "$ES_JVM_OPTIONS" ]; then
|
|
for jvm_options in "$ES_HOME"/config/jvm.options \
|
|
- /etc/elasticsearch/jvm.options; do
|
|
+ %%PREFIX%%/etc/elasticsearch/jvm.options; do
|
|
if [ -r "$jvm_options" ]; then
|
|
ES_JVM_OPTIONS=$jvm_options
|
|
break
|