初始化

This commit is contained in:
gozeros committed 2026-09-07 18:24:55 +08:00
1 parent 34474bd5fc
commit b638b541d0
3008 files changed
+837699

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
. "$PSScriptRoot\env.ps1"
$backendPidFile = Join-Path $PidDir "backend.pid"
$frontendPidFile = Join-Path $PidDir "frontend.pid"
if (Test-PidRunning $backendPidFile) {
$pidValue = Get-Content -LiteralPath $backendPidFile | Select-Object -First 1
Write-Host "Backend: running (pid $pidValue) $BackendPublicBaseUrl"
} else {
Write-Host "Backend: stopped"
}
if (Test-PidRunning $frontendPidFile) {
$pidValue = Get-Content -LiteralPath $frontendPidFile | Select-Object -First 1
Write-Host "Frontend: running (pid $pidValue) $FrontendPublicBaseUrl"
} else {
Write-Host "Frontend: stopped"
}