Skip to content

Commit

Permalink
Clarify trailing slash for PIPE_DIR
Browse files Browse the repository at this point in the history
The trailing slash for PIPE_DIR is necessary for
both start and attach operations.
  • Loading branch information
norton authored and Tuncer Ayaz committed Nov 21, 2011
1 parent e7c24ef commit 7e3f8e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rel/files/riak
Expand Up @@ -8,6 +8,7 @@ RUNNER_SCRIPT=${0##*/}
RUNNER_BASE_DIR={{runner_base_dir}}
RUNNER_ETC_DIR={{runner_etc_dir}}
RUNNER_LOG_DIR={{runner_log_dir}}
# Note the trailing slash on $PIPE_DIR/
PIPE_DIR={{pipe_dir}}
RUNNER_USER={{runner_user}}
PLATFORM_DATA_DIR={{platform_data_dir}}
Expand Down Expand Up @@ -106,7 +107,7 @@ case "$1" in
HEART_COMMAND="$RUNNER_SCRIPT_DIR/$SCRIPT start"
export HEART_COMMAND
mkdir -p $PIPE_DIR
$ERTS_PATH/run_erl -daemon $PIPE_DIR/ $RUNNER_LOG_DIR \
$ERTS_PATH/run_erl -daemon $PIPE_DIR $RUNNER_LOG_DIR \
"exec $RUNNER_SCRIPT_DIR/$SCRIPT console" 2>&1

# Wait for the node to come up. We can't just ping it because
Expand Down

0 comments on commit 7e3f8e2

Please sign in to comment.