Przeglądaj źródła

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 lat temu
rodzic
commit
0df95cc7f2
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      priv/templates/simplenode.runner

+ 2
- 1
priv/templates/simplenode.runner Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz