release: sync public installer asset install.sh
This commit is contained in:
+2
-2
@@ -1191,19 +1191,19 @@ if [[ $migration_rc -ne 0 ]]; then
|
||||
fi
|
||||
printf '数据库初始化完成\n'
|
||||
printf '数据库初始化完成\n' >>"$INSTALL_LOG"
|
||||
set +e
|
||||
if [[ $MENU_PROFILES == *xiaoya-control* ]]; then
|
||||
printf '本机小雅控制器连接信息:\n'
|
||||
print_controller_info || printf '控制器连接信息暂时不可读取,安装完成后可通过菜单 6 查看。\n'
|
||||
fi
|
||||
progress '启动 XyMediaVault 服务'
|
||||
set +e
|
||||
run_logged "${COMPOSE[@]}" --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" "${COMPOSE_FUSE[@]}" up -d app
|
||||
app_start_rc=$?
|
||||
set -e
|
||||
if [[ $app_start_rc -ne 0 ]]; then
|
||||
persist_installer_log
|
||||
die "XyMediaVault 启动失败(退出码:$app_start_rc)"
|
||||
fi
|
||||
set -e
|
||||
wait_for_app_health() {
|
||||
local started_at elapsed app_wait_interrupted=0 previous_int previous_term
|
||||
started_at=$(date +%s)
|
||||
|
||||
Reference in New Issue
Block a user