graylog-labs / graylog2-web-interface

[DEPRECATED]
https://www.graylog.org/
611 stars 174 forks source link

/etc/sysconfig/graylog-web JAVA Parameter in RPMs #1553

Closed jgkirschbaum closed 9 years ago

jgkirschbaum commented 9 years ago

Using the graylog-web-1.1.6-1.noarch.rpm, maybe earlier versions have this bug also.

Setting the parameter JAVA to something like /opt/java/bin/java in /etc/sysconfig/graylog-web has no effect. The Javaversion to use is detected in /usr/share/graylog-web/bin/graylog-web-interface in the function get_java_cmd. This function only checks for the environment-variable JAVA_HOME.

A workaround for this issue is to add the following line to /etc/sysconfig/graylog-web:

export JAVA_HOME=/opt/java
bernd commented 9 years ago

I moved the issue to the fpm-recipes repository. https://github.com/Graylog2/fpm-recipes/issues/44