Date: Thu, 01 Dec 2016 15:25:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214983] textproc/elasticsearch5: startup script does not find JVM config options (the jvm.options file) Message-ID: <bug-214983-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214983 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@FreeBSD.org Reporter: Mark.Martinec@ijs.si Flags: maintainer-feedback?(tj@FreeBSD.org) Assignee: tj@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=3D$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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214983-13>