mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
13 lines
525 B
Bash
Executable file
13 lines
525 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "The use of bin/plugin is deprecated and will be removed in a feature release."
|
|
|
|
unset CDPATH
|
|
. "$(cd `dirname $0`/..; pwd)/bin/logstash.lib.sh"
|
|
setup
|
|
|
|
# bin/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 -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -X-C -Xcompile.invokedynamic=false"
|
|
|
|
ruby_exec "${LOGSTASH_HOME}/lib/pluginmanager/main.rb" "$@"
|