plugin: benign-reconnect overflow-notice fix (maxAssignedSeq gate), null-id reconnect timer clear; rsync: mkdir before early exit
This commit is contained in:
@@ -6,12 +6,14 @@ set -euo pipefail
|
||||
SRC="${LVMH_PI_AGENT_DIR:-$HOME/.dotfiles/pi/agent}"
|
||||
DEST="$(dirname "$0")/../docker/pi-agent"
|
||||
|
||||
# DEST must exist even without dotfiles: the worker Dockerfile COPYs it
|
||||
# unconditionally (a missing dir would fail the build).
|
||||
mkdir -p "$DEST"
|
||||
|
||||
if [ ! -f "$SRC/settings.json" ]; then
|
||||
echo "rsync-pi-agent: $SRC/settings.json not found — skipping dotfiles sync" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p "$DEST"
|
||||
rsync -a --delete \
|
||||
--exclude 'auth.json' \
|
||||
--exclude 'models.json' \
|
||||
|
||||
Reference in New Issue
Block a user