Devops Stop Services
Table of Contents
1. When to use this skill
Stopping the service fleet cleanly — before db recreate, env changes, or shutdown.
2. How to use this skill
- Check what is running first.
compass services statusnames what is up. Stopping a fleet nobody started wastes a minute; stopping one mid test run loses the run. - Stop the fleet with the recipe below. It stops the services and NATS together, which matters because a service outliving NATS logs connection failures that look like a different fault.
- Confirm it went down. A service left running holds the database port
and the next
db recreatefails with a confusing error rather than a clear one.
3. Recipes
- How do I manage the checkout environment with compass? — the environment lifecycle verbs.
4. Reference
- ores.compass — the tool every one of these commands runs through.