• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: StartupItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: StartupItems


  • Subject: Re: StartupItems
  • From: "Jordan K. Hubbard" <email@hidden>
  • Date: Sat, 3 Jun 2006 09:54:38 -1000


On Jun 3, 2006, at 7:33 AM, Peter Seebach wrote:

What I want launchd to do is "handle the dependencies needed to determine
when a daemon can be safely launched".

I think I got that part already, but we need to get more specific. HOW should it handle the dependencies (in ways not already provided for)? What ARE those dependencies? That's the kind of detail I'm asking for. The above sentence qualifies more as a mission statement than a specific set of goals, and we've already been all over the mission statement side of things in this thread.


So, it'd be REALLY NICE if launchd provided at least a few basic hooks so
that the easy cases would Just Work.

If you'd enumerate some of these hooks and "easy cases", that would be helpful.


Cool. Clean it up, give it a man page, and include it in the system, and
we should be all done.

You're certainly jumping rather eagerly on my solution without knowing what it actually does. That's either a testament to your enthusiasm or a worrying sign that you don't know what you actually want. :-)


That's what I want, at least; I want APPLE to provide the code to handle
the fairly basic functionality of "launch this program only when the system
can support it", so I don't have to maintain thirty-leven copies of the
code which checks for and waits on services.

Apple HAS provided this already. That's what IPC-based launching is all about - when something is actually needed, use the interlock that IPC gives you to launch it and allow it to satisfy the request. You're saying that's not enough, so please provide details as to what you'd like to see (and when I say "details" I mean "something that someone could actually start implementing", not "I want a system that Does The Right Thing, dammit!").


- Jordan

_______________________________________________
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


  • Follow-Ups:
    • Re: StartupItems
      • From: email@hidden (Peter Seebach)
References: 
 >Re: StartupItems (From: email@hidden (Peter Seebach))

  • Prev by Date: Re: StartupItems
  • Next by Date: Re: StartupItems
  • Previous by thread: Re: StartupItems
  • Next by thread: Re: StartupItems
  • Index(es):
    • Date
    • Thread