diff options
Diffstat (limited to 'priv/templates/extended_bin.dtl')
-rw-r--r-- | priv/templates/extended_bin.dtl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index 79b84ce..8bb3b48 100644 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -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 @@ -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" |