[launchd-dev] ExitTimeOut seems to be ignored in simple demo

Sidney San Martín s at sidneysm.com
Fri Aug 20 13:43:12 PDT 2010

There is also a TimeOut key (you can specify it in the plist, but it
will be added to the job at runtime by launchd if you omit it) for
what you're describing, but launchd doesn't enforce it.

I have a tiny class, SSIdleTerminator, that I use for this purpose. I
initialize it with the TimeOut provided by launchd at checkin.

You can find it on GitHub at <http://github.com/Sidnicious/SSIdleTerminator>.

On Fri, Aug 13, 2010 at 10:59 PM, Jerry Krinock <jerry at ieee.org> wrote:
> On 2010 Aug 13, at 18:34, Michael Ledford wrote:
>> I asked the same question earlier this year. You can read the response that is pretty clear on what is happening here... http://lists.macosforge.org/pipermail/launchd-dev/2010-January/000732.html
>> In summary ExitTimeOut is referring to the time between when a SIGTERM is issued by launchd, e.g. someone asked for a launchd process to stop via launchctl, and when the SIGKILL is issued.
> Thank you, Michael.
> Lord, have mercy.
> So I have just filed with Apple Bug Reporter Problem ID 8310103: "Documentation for Darwin launchd.plist(5) ExitTimeOut…".
> _______________________________________________
> launchd-dev mailing list
> launchd-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev

More information about the launchd-dev mailing list