deploy/circus.sh: a first 'up' leaves the queue alone instead of reporting it paused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f53b92a7dc
commit
6292e35654
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user