[launchd-dev] ExitTimeOut seems to be ignored in simple demo
michael at ledford.cc
Fri Aug 13 18:34:01 PDT 2010
On Aug 13, 2010, at 7:28 PM, Jerry Krinock wrote:
> Note that ExitTimeOut = 5.
> Expected Result: My tool should get a SIGKILL and quit beeping after 5 seconds.
> Actual Result: My tool keeps executing until I kill it with other means.
> What's wrong?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3920 bytes
Desc: not available
More information about the launchd-dev