<p dir="ltr"><br>
On Feb 11, 2016 7:03 PM, "Reindl Harald" <<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>> wrote:<br>
><br>
><br>
><br>
> Am 11.02.2016 um 17:50 schrieb Lennart Poettering:<br>
>><br>
>> * A new service setting RuntimeMaxSec= has been added that may be used<br>
>> to specify a maximum runtime for a service. If the timeout is hit, the<br>
>> service is terminated and put into a failure state<br>
><br>
><br>
> failure state makes no sense at all here<br>
><br>
> when i say "start and stop after 20 minutes" i mean stop it not fail<br>
><br>
> usecase?</p>
<p dir="ltr">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.</p>
<p dir="ltr">Apparently it's for instantiated services like systemd-coredump@.service. Why can't a service for an Accept=yes socket be Type=oneshot and use TimeoutStartSec?<br></p>