Files
blackroad-infra/scripts/deploy/deploy-to-all-pis.sh
Alexa Amundson d34d588dd0 Sync 134 infrastructure scripts and dashboard from local
94 deployment scripts, 32 setup scripts, 8 operational utilities
(cloudflare, docker, k3s, railway, tailscale, ssh, dns, network),
and Next.js infrastructure dashboard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 01:12:37 -06:00

12 lines
451 B
Bash

#!/bin/bash
echo "🚀 Deploying BlackRoad enhancements to all Pis..."
# Create monitoring cron job
for pi in alice lucidia shellfish aria; do
echo "Setting up auto-monitoring on $pi..."
ssh $pi "crontab -l 2>/dev/null | grep -v blackroad-health || true; (crontab -l 2>/dev/null; echo '*/5 * * * * ~/blackroad/scripts/agent-health.sh >> ~/blackroad/logs/health.log 2>&1') | crontab -" &
done
wait
echo "✅ All Pis enhanced with monitoring"