install.sh: reload Caddy after writing Caddyfile (enable --now no-ops if already running)
This commit is contained in:
parent
9c4c959772
commit
12c618399e
1 changed files with 2 additions and 1 deletions
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue