What problem does it solve?
This skill solves the risk and downtime of updating the HotPlex binary while the service is running, including common failures like “Text file busy”, broken startups, and lack of a fast rollback path.
Core Features & Use Cases
- End-to-end binary update workflow: Build, verify the new binary, stop the service, replace the executable, restart, and validate health via status and logs.
- Error handling for deployment failures: Handles stop/replace/start sequencing and common issues with waiting and log-based verification.
- Rollback mechanism: Restores a previous binary (from backup or rebuild) and verifies that the service returns to a clean, running state.
Use case: After running make build or a git pull, deploy the newly built HotPlex binary to your local machine and ensure the gateway starts cleanly again, or automatically recover if the new version fails to boot.
Quick Start
Tell the assistant: "Update hotplex and restart the service with rollback if it fails."