Skip to content

Commit

Permalink
修改本地服务启动提示
Browse files Browse the repository at this point in the history
  • Loading branch information
whyour committed Dec 13, 2024
1 parent 07ef1e5 commit 7a18c0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion shell/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ if [[ ! $QL_DIR ]]; then
fi

if [[ ! $QL_DATA_DIR ]]; then
echo -e "请先手动设置数据存储目录 export QL_DATA_DIR 环境变量,目录必须以斜杠开头的绝对路径,并手动添加到系统环境变量"
echo -e "请先手动设置数据存储目录 export QL_DATA_DIR 环境变量,目录必须以斜杠开头的绝对路径,并且以 /data 结尾,例如 /ql/data 并手动添加到系统环境变量"
exit 1
fi

if [[ $QL_DATA_DIR != */data ]]; then
echo -e "QL_DATA_DIR 必须以 /data 结尾,例如 /ql/data,如果有历史数据,请新建 data 目录,把历史数据放到 data 目录中"
exit 1
fi

Expand Down

0 comments on commit 7a18c0f

Please sign in to comment.