Do not abort install when cloudflared restart times out.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -145,8 +145,8 @@ if [[ -n "${CLOUDFLARE_TUNNEL_TOKEN:-}" ]]; then
|
|||||||
cloudflared service uninstall 2>/dev/null || true
|
cloudflared service uninstall 2>/dev/null || true
|
||||||
cloudflared service install "${CLOUDFLARE_TUNNEL_TOKEN}"
|
cloudflared service install "${CLOUDFLARE_TUNNEL_TOKEN}"
|
||||||
systemctl enable cloudflared
|
systemctl enable cloudflared
|
||||||
systemctl restart cloudflared
|
systemctl restart cloudflared || echo " Hinweis: cloudflared Neustart uebersprungen (laeuft evtl. schon)."
|
||||||
echo " cloudflared gestartet."
|
echo " cloudflared konfiguriert."
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo ">>> CLOUDFLARE_TUNNEL_TOKEN fehlt in deploy/env.homelab"
|
echo ">>> CLOUDFLARE_TUNNEL_TOKEN fehlt in deploy/env.homelab"
|
||||||
|
|||||||
Reference in New Issue
Block a user