logstash/bin/logstash-plugin
2019-12-03 10:51:44 +00:00

11 lines
358 B
Bash
Executable file

#!/bin/sh
unset CDPATH
. "$(cd `dirname $0`/..; pwd)/bin/logstash.lib.sh"
setup
# bin/logstash-plugin is a short lived ruby script thus we can use aggressive "faster starting JRuby options"
# see https://github.com/jruby/jruby/wiki/Improving-startup-time
export JRUBY_OPTS="${JRUBY_OPTS---dev}"
ruby_exec "${LOGSTASH_HOME}/lib/pluginmanager/main.rb" "$@"