This commit is contained in:
Leon 2021-08-07 22:46:30 +08:00
parent 2eb319c29e
commit 8e77fbafc5

View File

@ -243,7 +243,7 @@ if [ $INSTALL_WATCH = true ]; then
fi
# 检查 config 文件是否存在
if [ ! -f "$CODE_DIR/conf/config.yaml" ]; then
if [ ! -f "$CONFIG_PATH/conf/config.yaml" ]; then
docker cp $CONTAINER_NAME:/scripts/conf/config.yaml $CONFIG_PATH/config.yaml
if [ $? -ne 0 ] ; then
cancelrun "** 错误:找不到配置文件!"