Hi,
On 3/2/26 13:20, Tomas Volf wrote:
Probably healthcheck[0]? And Kubernetes have a similar concept called
probes[1].
These basically allow to define a custom action(s) to check whether
service is healthy (in addition to the default "is PID still alive").
If it is deemed not healthy, usually the action is to automatically
restart it.
0:https://docs.docker.com/reference/compose-file/services/#healthcheck
1:https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
Tomas
yes exactly, thank you.
What I had in mind was the ability for Shepherd services to somehow
declare themselves unhealthy and have something initiate a roll-back if
the system is declared to be unhealthy by some policy.
giacomo