diff --git a/customer/usr/local/bin/setup.sh b/customer/usr/local/bin/setup.sh index ada8445..01c5802 100755 --- a/customer/usr/local/bin/setup.sh +++ b/customer/usr/local/bin/setup.sh @@ -21,7 +21,7 @@ APP_DIRS+=(${APP_HOME}/conf ${APP_HOME}/data ${APP_HOME}/cert ${APP_HOME}/log ${ LOG_I "Ensure directory exists: ${APP_DIRS[@]}" for dir in ${APP_DIRS[@]}; do - ensure_dir_exists ${dir} + ensure_dir_exists ${dir} ${APP_USER} done # 检测指定文件是否在配置文件存储目录存在,如果不存在则拷贝(新挂载数据卷、手动删除都会导致不存在)