deploy.sh and the nightly resume leave the edge stopped while .cache/no-edge exists (range by range it would split releases at every edge with no merger left). deploy/replay-window.sh takes DB and OUT and passes REPLAY_INTO_CATALOG=1, which lets replay:corpus write a database not named *_replay or *_scratch (never the test one). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
17 lines
683 B
Bash
Executable File
17 lines
683 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
|
|
if [ -e .cache/no-edge ]; then
|
|
# Voyager 3 without its window worker yet (deploy.sh, LOG.md (116)): the edge stays stopped.
|
|
echo "no-edge: the edge worker left stopped"
|
|
else
|
|
docker compose up -d --no-deps edge
|
|
fi
|
|
docker compose ps --format "{{.Service}} {{.Status}}"
|