deploy/replay-window.sh passes the compose app environment (HOST, PORT, APP_URL, SPOOL_DIR, CHUNK_TABLESPACE) the ace command validates. The resume script starts only the coordinator (the corpus fill) while .cache/v2-reset exists: the voyager 2 catalog was reset on 2026-10-26 and its workers would fill it again. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
19 lines
863 B
Bash
Executable File
19 lines
863 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"
|
|
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}}"
|