From 28c67bdcdc21300ccb99f0003b39cd0308e58481 Mon Sep 17 00:00:00 2001 From: Jordan Sissel Date: Thu, 27 Feb 2014 15:51:19 -0800 Subject: [PATCH] Add 'env' command This aims to let developers run arbitrary commands with the logstash environment setup (env vars for RUBYLIB, GEM_HOME, etc) --- bin/logstash | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/logstash b/bin/logstash index 804f3d66381..73be17cd8b1 100755 --- a/bin/logstash +++ b/bin/logstash @@ -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"