Files
usenet-indexer/deploy/usenet-rebuild-resume.sh
T
Daan MeijerandClaude Opus 5.5 dd35b49a3f
Test and deploy / test (push) Successful in 55s
Test and deploy / edge (push) Successful in 2m3s
Test and deploy / deploy (push) Successful in 1m12s
Nightly pause (23:45) and resume (07:45); a deploy while paused leaves the workers stopped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 19:13:21 +02:00

12 lines
500 B
Bash
Executable File

#!/bin/sh
# Installed as ~/bin/usenet-rebuild-resume.sh (by hand). Nightly (homelab crontab, 07:45): voyager 2's processing back after usenet-rebuild-pause.sh (23:45). Takes the
# deploy lock, like the pause.
cd /mnt/bulk/usenet-rebuild || exit 1
exec 9>.cache/deploy.lock
flock 9
rm -f .cache/paused
date "+%F %T resuming"
docker compose up -d --no-deps coordinator prober merger judge spotter spot-inspector
docker compose up -d --no-deps edge
docker compose ps --format "{{.Service}} {{.Status}}"