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

  1. Check what is running first. compass services status names what is up. Stopping a fleet nobody started wastes a minute; stopping one mid test run loses the run.
  2. 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.
  3. Confirm it went down. A service left running holds the database port and the next db recreate fails with a confusing error rather than a clear one.

3. Recipes

4. Reference

  • ores.compass — the tool every one of these commands runs through.

Emacs 29.3 (Org mode 9.6.15)