[Bug 214983] textproc/elasticsearch5: startup script does not find JVM config options (the jvm.options file)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 1 15:25:12 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214983
Bug ID: 214983
Summary: textproc/elasticsearch5: startup script does not find
JVM config options (the jvm.options file)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: tj at FreeBSD.org
Reporter: Mark.Martinec at ijs.si
Flags: maintainer-feedback?(tj at FreeBSD.org)
Assignee: tj at FreeBSD.org
The textproc/elasticsearch5 port installs configuration files
into /usr/local/etc/elasticsearch/, but the jvm.options there
is ignored, JVM options cannot be configured as documented.
The /usr/local/lib/elasticsearch/bin/elasticsearch shell script
contains the following code section:
if [ -z "$ES_JVM_OPTIONS" ]; then
for jvm_options in "$ES_HOME"/config/jvm.options \
/etc/elasticsearch/jvm.options; do
if [ -r "$jvm_options" ]; then
ES_JVM_OPTIONS=$jvm_options
break
fi
done
fi
... which is looking for a file jvm.options in /etc/elasticsearch/,
yet this options file is actually installed by the package
in the directory /usr/local/etc/elasticsearch/ and is therefore
being ignored.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list