[systemd-devel] [ANNOUNCE] systemd v229
Lennart Poettering
lennart at poettering.net
Fri Feb 12 20:13:27 UTC 2016
On Thu, 11.02.16 19:03, Reindl Harald (h.reindl at thelounge.net) wrote:
>
>
> Am 11.02.2016 um 17:50 schrieb Lennart Poettering:
> > * A new service setting RuntimeMaxSec= has been added that may be used
> > to specify a maximum runtime for a service. If the timeout is hit, the
> > service is terminated and put into a failure state
>
> failure state makes no sense at all here
well, maybe you have a different usecase, but it certainly makes sense
in others.
Either way, I am happy to take a patch that makes this
configurable. One option could be to extend SuccessExitStatus= and
RestartPreventExitStatus= so that they take a special value "timeout",
or so, which disables the failure state or restart for the timeout case.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list