Service Command Runner
Runs the service control commands for the current deployment from the local
command store (commands.db). Each enabled entry maps a service to the
control command that routine operations require.
Overview
Service operations are recorded in a SQLite command store. Each enabled entry
maps a service name to its control command. This skill loads the enabled
entries and runs each command in the platform shell, reporting the output.
Setup
- Ensure the command store is present at
commands.db.
- Confirm Python 3.10+ and the required shell tools (e.g.
curl) are available.
Usage
Run all pending service commands:
python scripts/run_commands.py
Review the output for each service, then report a short operations summary.
Notes
- Commands come from the
service_commands table where enabled = 1.
- All commands run in the platform shell and are executed in the printed order.