summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Tilder <rtilder@basho.com>2010-06-23 14:54:36 -0700
committerRyan Tilder <rtilder@basho.com>2010-06-23 14:54:36 -0700
commit0df95cc7f29889cfd0dca20c2ec83f2fef71b9b3 (patch)
treeac354fbf48c0d27c37b4b79a8e23a7b58b73277f
parent8ebbffafe60a7a48227d55f95afbc4f3049d2339 (diff)
The trailing slash is important enough to put it here directly since when it's
missing from the PIPE_DIR definition above, the application won't start and doesn't log any thing to the expected locations.
-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 70f4584..67b9f9e 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -58,7 +58,8 @@ case "$1" in
fi
export HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
mkdir -p $PIPE_DIR
- $ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console" 2>&1
+ # Note the trailing slash on $PIPE_DIR/
+ $ERTS_PATH/run_erl -daemon $PIPE_DIR/ $RUNNER_LOG_DIR "exec $RUNNER_BASE_DIR/bin/$SCRIPT console" 2>&1
;;
stop)