On Feb 11, 2016 7:03 PM, "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 > > when i say "start and stop after 20 minutes" i mean stop it not fail > > usecase?
I wanted to say "aborting Type=oneshot services," but that's what TimeoutStartSec is for. So I was wondering what the point of this is, too. Apparently it's for instantiated services like [email protected]. Why can't a service for an Accept=yes socket be Type=oneshot and use TimeoutStartSec?
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
