Update caddy reload command paths in configuration and panelctl scripts
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
bcd9c57691
commit
8cb90be7cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue