From 12c618399e3bc9f8cd198a799e4670c59b8dadf5 Mon Sep 17 00:00:00 2001 From: Hendrik Date: Fri, 1 May 2026 18:04:30 +0200 Subject: [PATCH] install.sh: reload Caddy after writing Caddyfile (enable --now no-ops if already running) --- scripts/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 2ba98a6..3e03ef9 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -133,7 +133,8 @@ sudo -u "$SERVICE_USER" -H bash -c "cd '$INSTALL_DIR' && NEXREDIRECT_DATA_DIR='$ echo " (Server-IP konnte nicht direkt gesetzt werden — manuell via /settings nachholen.)" systemctl daemon-reload -systemctl enable --now caddy +systemctl enable caddy >/dev/null 2>&1 || true +systemctl reload caddy 2>/dev/null || systemctl restart caddy systemctl enable --now corex-nexredirect echo ""