Commit 770cdc19 authored by Stefan Scherer's avatar Stefan Scherer

Wait for TiWorker.exe

parent 9ffb77b1
$procname="TiWorker"
$finished = 0
while ($finished -lt 3) {
Start-Sleep 30
Write-Output "Checking for $procname ($finished)"
$output = "$(get-process -erroraction silentlycontinue $procname)"
if ( $output -eq "") {
$finished = $finished + 1
} else {
$finished = 0
}
}
......@@ -147,6 +147,7 @@
"./scripts/docker/add-docker-group.ps1",
"./scripts/docker/install-docker.ps1",
"./scripts/docker/docker-pull.ps1",
"./scripts/wait-for-tiworker.ps1",
"./scripts/docker/open-docker-insecure-port.ps1",
"./scripts/docker/open-docker-swarm-ports.ps1",
"./scripts/docker/remove-docker-key-json.ps1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment