#!/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" if [ -e .cache/v2-reset ]; then # The voyager 2 catalog is reset (2026-10-26, LOG.md (112)): only the coordinator (the corpus fill) runs until voyager 3 # is deployed; the edge, prober, merger, judge, spotter and spot inspector would fill the old catalog again. echo "v2 reset: only the coordinator" docker compose up -d --no-deps coordinator else docker compose up -d --no-deps coordinator prober merger judge spotter spot-inspector docker compose up -d --no-deps edge fi docker compose ps --format "{{.Service}} {{.Status}}"