diff --git a/fly/start.sh b/fly/start.sh index 96f6038..5b08490 100644 --- a/fly/start.sh +++ b/fly/start.sh @@ -8,7 +8,7 @@ set -e tailscaled --statedir=/var/lib/tailscale & sleep 2 tailscale up --authkey="${TS_AUTHKEY}" --hostname=flyio-proxy -tailscale wait --timeout 60s +until tailscale status > /dev/null 2>&1; do sleep 1; done echo "Tailscale connected" # Ensure fail2ban deny file exists before nginx starts