Skip to content

Commit

Permalink
Add 'env' command
Browse files Browse the repository at this point in the history
This aims to let developers run arbitrary commands with the logstash
environment setup (env vars for RUBYLIB, GEM_HOME, etc)
  • Loading branch information
jordansissel committed Feb 27, 2014
1 parent dfe7daf commit 28c67bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/logstash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 28c67bd

Please sign in to comment.