From 92e49eb71ce731349e4c41ca0c21995157fe380d Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Wed, 17 Jun 2026 19:03:17 +0000 Subject: [PATCH] docs: add agent file paths and public_html sync note --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index c2b48b7..3024b14 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -112,6 +112,11 @@ Iron Man-style AI dashboard at `https://jarvis.orbishosting.com`. All files on D **Agent system:** Agents phone home every 10s (heartbeat) / 30s (metrics) to `https://165.22.1.228` with `Host: jarvis.orbishosting.com` header (bypasses Cloudflare). Config at `/opt/jarvis-agent/config.json` on each Linux agent. Agent installer (one-liner for any Linux host): `curl -sk https://jarvis.orbishosting.com/install-agent.sh | bash -s ` +**Agent file paths by host** (for manual updates — push to correct path then restart service): +- Most Linux hosts: `/opt/jarvis-agent/jarvis-agent.py` · service: `systemctl restart jarvis-agent` +- WireGuard CT (10.48.200.19, Alpine): `/opt/jarvis-agent/agent.py` · service: `rc-service jarvis-agent restart` +- `public_html/agent/jarvis-agent.py` is the self-update URL — must be kept in sync with `agent/jarvis-agent.py` (both are tracked in git; auto-deploy keeps them in sync after 2026-06-17) + **Self-healing:** `/usr/local/bin/jarvis-watchdog.sh` runs every 5 min (root cron). Restarts lsws/mysql/redis if down, restarts offline Proxmox VM agents via `qm guest exec`, inserts alerts to DB, rotates logs. Watchdog log: `/home/jarvis.orbishosting.com/logs/watchdog.log`