fix(install): restore nginx reload-or-start fallback broken by shellcheck fix

This commit is contained in:
Pouzor
2026-03-28 12:53:50 +01:00
parent fd8735ce7f
commit 57829d88e5
+2 -5
View File
@@ -122,11 +122,8 @@ sed \
ln -sf /etc/nginx/sites-available/homelable /etc/nginx/sites-enabled/homelable
rm -f /etc/nginx/sites-enabled/default
if nginx -t; then
systemctl reload nginx
else
systemctl start nginx
fi
nginx -t
systemctl reload nginx || systemctl start nginx
# ── Enable & start ────────────────────────────────────────────────────────────
systemctl daemon-reload