mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Add 'env' command
This aims to let developers run arbitrary commands with the logstash environment setup (env vars for RUBYLIB, GEM_HOME, etc)
This commit is contained in:
parent
dfe7dafe69
commit
28c67bdcdc
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ export HOME SINCEDB_DIR
|
|||
|
||||
case $1 in
|
||||
deps) install_deps ;;
|
||||
env) env "$@" ;;
|
||||
-*)
|
||||
# is the first argument a flag? If so, assume 'agent'
|
||||
program="$basedir/lib/logstash/runner.rb"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue