#!/bin/sh # Installed as ~/bin/usenet-rebuild-pause.sh (by hand). Nightly (homelab crontab, 23:45): voyager 2's processing paused for the night; usenet-rebuild-resume.sh (07:45) # starts it again. Postgres, web, node-api and the prober stay up: since 2026-11-03 (LOG.md (137)) everything the # prober touches is on the NVMe, so it probes through the night without the HDD. Takes the deploy lock, so it never # runs during a CI deploy, and leaves .cache/paused, so a deploy in the night doesn't start the workers again. cd /mnt/bulk/usenet-rebuild || exit 1 exec 9>.cache/deploy.lock flock 9 touch .cache/paused date "+%F %T pausing" docker compose stop edge docker compose stop coordinator merger judge spotter spot-inspector docker compose ps --format "{{.Service}} {{.Status}}"