Add SINCEDB_DIR env var to logstash.lib.sh

This is to fix the file input

Fixes #5385
This commit is contained in:
Aaron Mildenstein 2016-05-27 16:05:58 -06:00
parent 2c68fa62bb
commit 2383e623a5

View file

@ -25,6 +25,8 @@ fi
LOGSTASH_HOME=$(cd `dirname $SOURCEPATH`/..; pwd) LOGSTASH_HOME=$(cd `dirname $SOURCEPATH`/..; pwd)
export LOGSTASH_HOME export LOGSTASH_HOME
SINCEDB_DIR=${LOGSTASH_HOME}
export SINCEDB_DIR
parse_jvm_options() { parse_jvm_options() {
if [ -f "$1" ]; then if [ -f "$1" ]; then