Skip to content

Commit

Permalink
Make HEART_COMMAND use the full path, otherwise it does not work.
Browse files Browse the repository at this point in the history
Fixes #214
  • Loading branch information
davidw committed Jul 22, 2014
1 parent 89ba352 commit c456457
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion priv/templates/extended_bin.dtl
Expand Up @@ -143,6 +143,8 @@ case "$1" in
# echo "Node is already running!"
# exit 1
#fi
# Save this for later.
CMD=$1
case "$1" in
start)
shift
Expand All @@ -162,7 +164,7 @@ case "$1" in
[ "$RUN_PARAM" ] && set -- "$@" "$RUN_PARAM"

# Export the HEART_COMMAND
HEART_COMMAND="$@"
HEART_COMMAND="$RELEASE_ROOT_DIR/bin/$REL_NAME $CMD"
export HEART_COMMAND

mkdir -p "$PIPE_DIR"
Expand Down

0 comments on commit c456457

Please sign in to comment.