Restart ClaudeGolem
Restart the Telegram bot and notification server:
- Stop existing bot:
pkill -f "bun.*telegram-bot" - Wait 3 seconds for port 3847 to release (SIGTERM handler needs time)
- Verify port is free:
lsof -i :3847should return nothing - Start bot from the claude package directory:
bun run bot & - Wait 2 seconds, then verify:
- Process running:
pgrep -fl telegram-bot - Port listening:
curl -sf http://localhost:3847/health
- Process running:
If port 3847 is still in use after step 3, the old process didn't shut down cleanly. Kill it forcefully with kill -9 on the PID from lsof -i :3847.