[systemd-devel] Fast respawning jobs

Lennart Poettering lennart at poettering.net
Fri Jun 25 11:24:20 UTC 2021


On Fr, 25.06.21 11:17, Szymanski, Kai (Kai.Szymanski at Luerssen.de) wrote:

> Hi Lennart,
>
>
> the desciption for StartLimitIntervalSec && Startlimitburst:
>
> "more than burst times within an interval time span are not permitted to start any more"
>
>
> But i need: A Job that returns after 4 Seconds with StatusCode 0
> have to be started again. Of cource i can raise the StartLimit...but
> this is not a "really" solution in my eyes 😊

I don't understand what the problem is supposed to be?

You want quick restarts are you don't?

You configured your unit to prohibit that via the start limits you
defined. If you want to allow quick, repeated starts then raise the
limit.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list