Re: Fast respawning jobs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fr, 25.06.21 09:32, Szymanski, Kai (Kai.Szymanski@xxxxxxxxxxx) wrote:

> Hi,

Please always mention the systemd version you are operating with. (And
distro would be good too).

> i have a job that is very fast respawning if there ist nothing todo. The Servicefile looks like this:
>
>
> [Unit]
> Description=job1
> StartLimitIntervalSec=100
> StartLimitBurst=5

With these two lines you declare that starting the unit shall fail
when attempted more than 5 times in 100s.

> Problem is that after several retries the job goes to failed state (but it exits after 1 Seconds with resultcode 0).

Raise the start limit?

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux