From 416b3877e2cf099545aa5e35fd9f61e3886f80a3 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Mon, 23 Mar 2026 11:23:05 +0000 Subject: [PATCH] dir locality issue --- cron/minutely.bash | 1 + 1 file changed, 1 insertion(+) 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." -- 2.49.1