浏览代码

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 年前
父节点
当前提交
0df95cc7f2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      priv/templates/simplenode.runner

+ 2
- 1
priv/templates/simplenode.runner 查看文件

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

正在加载...
取消
保存