Sfoglia il codice sorgente

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.
pull/3/head
Ryan Tilder 15 anni fa
parent
commit
0df95cc7f2
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      priv/templates/simplenode.runner

+ 2
- 1
priv/templates/simplenode.runner Vedi File

@ -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)

Caricamento…
Annulla
Salva