🔨
This commit is contained in:
parent
2eb319c29e
commit
8e77fbafc5
@ -243,7 +243,7 @@ if [ $INSTALL_WATCH = true ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 检查 config 文件是否存在
|
# 检查 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
|
docker cp $CONTAINER_NAME:/scripts/conf/config.yaml $CONFIG_PATH/config.yaml
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
cancelrun "** 错误:找不到配置文件!"
|
cancelrun "** 错误:找不到配置文件!"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user