Bot Process Control

•
40
•

Manages the lifecycle and monitoring of Telegram sync bot processes on macOS systems.

This skill provides a robust management interface for the Telegram sync bot, allowing developers to start, stop, and restart services using launchd and the Bun runtime. It automates health checks via process verification, handles the cleanup of duplicate or zombie instances, and provides direct access to real-time logs. Designed specifically for macOS Apple Silicon, it ensures that bot runners remain responsive and simplifies the debugging process during development and maintenance.

Key Features

01Direct log tailing for immediate diagnostic feedback
02Real-time process status verification using pgrep
03Seamless integration with launchd and bun --watch for auto-reloading
0440 GitHub stars
05Automated identification and cleanup of duplicate instances
06Complete process lifecycle management (start, stop, restart)

Use Cases

01Verifying bot health and terminating redundant background processes
02Troubleshooting bot crashes by analyzing recent log output
03Refreshing the bot service after updating environment variables or secrets