Re: Example of launchd based application?
Re: Example of launchd based application?
- Subject: Re: Example of launchd based application?
- From: "Justin C. Walker" <email@hidden>
- Date: Fri, 11 Apr 2008 18:13:10 -0700
On Apr 11, 2008, at 15:57 , Andre-John Mas wrote:
Hi,
I am currently looking at migrating an application from using a
StartupItem to launchd. The application depends on tun/tap to run.
If I understand rightly my launch script will be launched and then
hang around waiting until it can establish a connection with tun/
tap? What sort of time out should a program be expected to provide,
to take into account that the dependency might be slow to start, yet
at the same time may also be suffering from issues of its own?
Are there any source examples available that show how such an
application should behave?
I've never fiddled with this stuff, but if `twere me, I'd look @ /
System/Library/Launch* and see what's there. Then I'd head on over to
the Apple developer site and check out the code provided on the Darwin
source page. There ought to be something come out of that.
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden