Do not abort install when cloudflared restart times out.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-02 08:33:35 +02:00
parent 851cd5ad07
commit a8f91ea464

View File

@@ -145,8 +145,8 @@ if [[ -n "${CLOUDFLARE_TUNNEL_TOKEN:-}" ]]; then
cloudflared service uninstall 2>/dev/null || true
cloudflared service install "${CLOUDFLARE_TUNNEL_TOKEN}"
systemctl enable cloudflared
systemctl restart cloudflared
echo " cloudflared gestartet."
systemctl restart cloudflared || echo " Hinweis: cloudflared Neustart uebersprungen (laeuft evtl. schon)."
echo " cloudflared konfiguriert."
else
echo ""
echo ">>> CLOUDFLARE_TUNNEL_TOKEN fehlt in deploy/env.homelab"