- service_registry: xmpp_bot port 5802 -> 5807 (matches xmpp_agent_core), fix health_url/log - xmpp_watchdog: skip services without script or pid_file (dashboard self-managed, gateway_* remote) — previously crashed on open(None) - start.bat: launch watchdog after xxm bot so crash auto-recovery runs on boot
24 lines
1.1 KiB
Batchfile
24 lines
1.1 KiB
Batchfile
@echo off
|
|
echo === AgentsMeeting Windows Services ===
|
|
|
|
echo [0/3] Cleaning...
|
|
taskkill /f /im python.exe 2>nul
|
|
taskkill /f /im easytier-core.exe 2>nul
|
|
timeout /t 3 /nobreak >nul
|
|
|
|
echo [1/3] Article Processor...
|
|
start /b "" "C:\Users\hmo\AppData\Local\Programs\Python\Python310\python.exe" "D:\F\NewI\opencode\daily-workspace\projects\self-growing-knowledge\scripts\article_processor.py"
|
|
timeout /t 3 /nobreak >nul
|
|
|
|
echo [2/3] xxm Bot...
|
|
start /b "" /D "D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting" "C:\Users\hmo\AppData\Local\Programs\Python\Python310\python.exe" xmpp_agent_core.py --agent xxm
|
|
timeout /t 10 /nobreak >nul
|
|
|
|
echo [2.5/3] Watchdog (auto-restart guard)...
|
|
start /b "" /D "D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting\gateway\scripts" "C:\Users\hmo\AppData\Local\Programs\Python\Python310\python.exe" xmpp_watchdog.py
|
|
timeout /t 3 /nobreak >nul
|
|
|
|
echo [3/3] EasyTier...
|
|
curl -s -X POST http://127.0.0.1:5807/easytier -H "Content-Type: application/json" -H "X-Api-Key: xxm_bridge_8f3a2c" -d "{\"action\":\"start\"}" >nul
|
|
|
|
echo === Done === |