[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shepherd: failing test: should `herd stop` stop a respawning process
From: |
Felix Lechner |
Subject: |
Re: shepherd: failing test: should `herd stop` stop a respawning process? |
Date: |
Sun, 06 Oct 2024 10:31:34 -0700 |
Hi Attila,
On Sun, Oct 06 2024, Attila Lendvai wrote:
> - my expectation that herd stop should stop the respawning loop?
My sense is that the Shepherd and systemd always restart services. I
don't think they know whether a failure relates to configuration or to
something else, but they could probably measure the rate of failure and
stop at some point.
You can mark services as "one-shot." They are not restarted. Maybe
that setting is helpful until your configuration is working.
Kind regards
Felix