voice_audio_multi/examples/docker/server/wait-for-server.sh
Fabio c36510c21e
Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

12 lines
238 B
Bash
Executable file

#!/usr/bin/env bash
for i in $(seq 1 60); do
if curl -fsS -o /dev/null http://localhost:8080/health 2>/dev/null; then
echo "Server is ready"
exit 0
fi
sleep 1
done
echo "Server did not become healthy after 60s" >&2
exit 1