summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2011-03-16 05:55:33 -0600
committerDave Smith <dizzyd@dizzyd.com>2011-03-16 05:55:33 -0600
commit6a7fc05cb4b3d4fdb2c452c91a897e0db9e1029a (patch)
tree31f9cbaa3e06a5b5812358655665673ffb73505b /priv
parentfa38ed64ccd68bc97245b5f39552a1d8e1e6e258 (diff)
parent9da87854f2a8f61d0cedf588d482e78fe1af78e7 (diff)
Merge branch 'simplenode_runner_start_args' of git://github.com/alexeyr/rebar
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 43dce0f..a2cdd79 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -62,7 +62,8 @@ case "$1" in
HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
export HEART_COMMAND
mkdir -p $PIPE_DIR
- $ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console" 2>&1
+ shift # remove $1
+ $ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console $@" 2>&1
;;
stop)