muster restart

muster restart

Restart a running service without rebuilding or redeploying it.

Synopsis

Terminal
muster restart <service> [flags]

Description

muster uses the first method that applies:

MethodWhen
.muster/hooks/<svc>/restart.shYour own restart hook (or a justfile recipe).
kubectl rollout restart deployment/<name>Kubernetes services.
docker compose restart <service>Compose services.
docker restart <container>Docker services.
RedeployAnything else: runs muster deploy <svc>.

Flags

FlagDescription
--jsonStream NDJSON events (start, log, done, health, summary).
--yesApprove a changed or unapproved restart hook without review.
-h, --helpShow help.

Examples

Terminal
muster restart api
muster restart api --json --yes

Exit codes and JSON

Exits 0 when the service restarted (and is healthy, if checked), 1 otherwise. JSON events: JSON API.