재부팅 복구와 학습자 패널을 정리
This commit is contained in:
parent
dcb76a2373
commit
99779a6ab2
10 changed files with 442 additions and 25 deletions
|
|
@ -327,10 +327,15 @@ if ((Test-ApiControlPlaneHealthy) -and (Test-EngineHealthy) -and (Test-VoiceApiH
|
|||
Write-BootLog "web preview down on 127.0.0.1:$WebPort; including web in restart"
|
||||
}
|
||||
Write-BootLog ("running start-public-runtime.ps1 " + ($startArgs -join " "))
|
||||
$out = & powershell.exe -NoProfile -ExecutionPolicy Bypass -File $startScript @startArgs 2>&1
|
||||
$out | ForEach-Object { Write-BootLog (" pub> " + $_) }
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-BootLog "ERROR: start-public-runtime.ps1 exit $LASTEXITCODE"
|
||||
$startFailed = $false
|
||||
try {
|
||||
& $startScript @startArgs |
|
||||
ForEach-Object { Write-BootLog (" pub> " + $_) }
|
||||
} catch {
|
||||
$startFailed = $true
|
||||
Write-BootLog "ERROR: start-public-runtime.ps1 failed: $($_.Exception.Message)"
|
||||
}
|
||||
if ($startFailed) {
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue