From: Alex Pooley (@zuedev) Date: Mon, 23 Mar 2026 11:23:05 +0000 (+0000) Subject: dir locality issue X-Git-Url: http://git.zue.dev/?a=commitdiff_plain;h=416b3877e2cf099545aa5e35fd9f61e3886f80a3;p=git.zue.dev dir locality issue --- diff --git a/cron/minutely.bash b/cron/minutely.bash index 7abf205..b1eee96 100644 --- a/cron/minutely.bash +++ b/cron/minutely.bash @@ -62,6 +62,7 @@ fi if [ "$CADDY_RESTART_NEEDED" = true ]; then echo "Restarting Caddy container to apply new configuration..." + cd "$DOCKER_COMPOSE_DIRECTORY" || { echo "Failed to change directory to $DOCKER_COMPOSE_DIRECTORY. PANIC!"; exit 1; } docker compose restart caddy else echo "Caddy configuration has not changed. No restart needed."