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.
This commit is contained in:
Ryan Tilder 2010-06-23 14:54:36 -07:00
parent 8ebbffafe6
commit 0df95cc7f2

View file

@ -58,7 +58,8 @@ case "$1" in
fi fi
export HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start" export HEART_COMMAND="$RUNNER_BASE_DIR/bin/$SCRIPT start"
mkdir -p $PIPE_DIR 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) stop)