The ledger gate replays with the table's options, and takes the site from SITE for a machine whose DNS lags
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
e8b6510bf0
commit
23b72ddc6d
@@ -6,7 +6,8 @@
|
||||
# deploy/verify-ledgers.sh <droplet-ip-or-host> [https://site]
|
||||
set -euo pipefail
|
||||
HOST="${1:?usage: verify-ledgers.sh <droplet-ip-or-host> [https://site]}"
|
||||
SITE="${2:-https://__DOMAIN__}"
|
||||
# SITE in the environment overrides the name, for a machine whose DNS has not caught up with a new record.
|
||||
SITE="${2:-${SITE:-https://__DOMAIN__}}"
|
||||
DIR="$(mktemp -d)"
|
||||
trap 'rm -rf "$DIR"' EXIT
|
||||
rsync -az "root@$HOST:/var/lib/__SLUG__/rooms/" "$DIR/"
|
||||
|
||||
Reference in New Issue
Block a user