• 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: Michael Bartosh <email@hidden>
  • Date: Sat, 3 Jun 2006 20:28:32 +0100


On Jun 3, 2006, at 12:25 PM, Jordan K. Hubbard wrote:


On Jun 2, 2006, at 10:17 PM, Peter Seebach wrote:

And since 10.4, getting even fairly trivial daemons started at a time when
the system provides the services they need is annoying, and following the
instructions given in the man page can wedge a system permanently at a blue
screen.


I didn't say it was impossible; I said I didn't think it's a "good tool".
It's obviously possible to do the bootstrapping that way; I just don't
think it's a very good tool for the job.

Maybe this whole conversation would be easier if you (and some of the others in this conversation) could more precisely describe just what it is you want launchd to do, rather than making this an ongoing retro argument where we stick on our grey beards and debate the usefulness of StartupItems, /etc/rc.d, SYSV runlevels and so on.



a) allow launchd.plist items to key off of configd events, like configd's kicker (a facility I use frequently) can. This would permit developers to use this relatively innovative facility without having to write any Mac OS X specific code.


b) have a 'requires' item in launchd.plist, ie 'requires org.mysql.mysqld' Provides could implicit with the job's label.

Yes, you can write wrappers, but why? That makes things harder to deploy in Tiger. Feel free to remove b) in 5 years. But tell us now. We need a road map in enterprise deployments.

WRT a) I've heard that Apple doesn't want to link launchd against higher level frameworks. But that goal seems contrary to launchd's kitchen sink model (and I don't say that disparagingly). AND it (a) would be super cool, and useful.

__
Michael Bartosh
http://www.4am-media.com

London through 6/7
Tokyo 6/8-14



_______________________________________________
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


References: 
 >Re: StartupItems (From: email@hidden (Peter Seebach))
 >Re: StartupItems (From: "Jordan K. Hubbard" <email@hidden>)

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