From 6292e35654d41899b9a65d97f7f4e59dcbfcc9db Mon Sep 17 00:00:00 2001 From: maashkinoozhe Date: Sat, 24 Oct 2026 11:10:39 +0200 Subject: [PATCH] deploy/circus.sh: a first 'up' leaves the queue alone instead of reporting it paused Co-Authored-By: Claude Opus 5.5 --- deploy/circus.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/circus.sh b/deploy/circus.sh index f887835..b378aa3 100644 --- a/deploy/circus.sh +++ b/deploy/circus.sh @@ -73,8 +73,8 @@ case "$cmd" in ;; up) start_all - was=$(cat .queue-was-paused 2>/dev/null || echo true); rm -f .queue-was-paused - resume_if "$was" + # Only a queue that `down` paused is resumed; without that marker the queue is left as it is. + if [ -f .queue-was-paused ]; then was=$(cat .queue-was-paused); rm -f .queue-was-paused; resume_if "$was"; fi docker compose ps --format 'table {{.Service}}\t{{.Status}}' ;; down)