From 0df95cc7f29889cfd0dca20c2ec83f2fef71b9b3 Mon Sep 17 00:00:00 2001 From: Ryan Tilder Date: Wed, 23 Jun 2010 14:54:36 -0700 Subject: [PATCH] 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. --- priv/templates/simplenode.runner | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)