| name | restart |
| description | Restart the Telegram bot and notification server. Use when bot is unresponsive or after code changes. Use when this capability is needed. |
| metadata | {"author":"etanhey"} |
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 :3847 should 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
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.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.