On Thu, 11.02.16 19:03, Reindl Harald ([email protected]) 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 _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
