From 8cb90be7cd62a8e04af4a8c8268542e46b45ed0b Mon Sep 17 00:00:00 2001 From: Jakub Dorfman Date: Sun, 26 Apr 2026 23:31:31 +0200 Subject: [PATCH] Update caddy reload command paths in configuration and panelctl scripts Co-authored-by: Copilot --- panelctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panelctl.sh b/panelctl.sh index 6cd1e6d..f68b749 100644 --- a/panelctl.sh +++ b/panelctl.sh @@ -287,7 +287,7 @@ maybe_reload_caddy() { fi if command -v sudo >/dev/null 2>&1 && sudo -n true >/dev/null 2>&1; then - sudo -n systemctl reload caddy + sudo -n /run/current-system/sw/bin/systemctl reload caddy echo "reloaded caddy via sudo" return fi