• 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: launchd daemon and Distributed Objects.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launchd daemon and Distributed Objects.


  • Subject: Re: launchd daemon and Distributed Objects.
  • From: email@hidden
  • Date: Mon, 22 Oct 2007 12:31:29 +0200


On 22 Oct 2007, at 03:42, Robert Monaghan wrote:
I want to create a new daemon, which is Foundation command-line app. I want it to be a daemon
which is launched by launchd. Does anyone know how I should configure the plist file for the
launchd daemon?


If you read the manual page of the configuration parameters it should help, Google as well. Check this: <http://www.macgeekery.com/tips/ all_about_launchd_items_and_how_to_make_one_yourself>.

I've taken a look at the SampleD sample code. It is a complete mystery as to figure out how
to use launchd to configure a Foundation app. SampleD seems to set a Socket stream, which
doesn't mesh with anything that I would want to do with a Distributed Object based tool.


I wouldn't worry about these when dealing with DO, and:

Could I just ignore the SampleD code, and set the "aways run" flags in the plist file?

That would make the most sense for your tool anyway. Just set it up as a DO server and let other tools connect to it.

Cheers,
Annard
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: launchd daemon and Distributed Objects.
      • From: Robert Monaghan <email@hidden>
References: 
 >launchd daemon and Distributed Objects. (From: Robert Monaghan <email@hidden>)

  • Prev by Date: Re: detecting when an app is beach-balling
  • Next by Date: Re: detecting when an app is beach-balling
  • Previous by thread: launchd daemon and Distributed Objects.
  • Next by thread: Re: launchd daemon and Distributed Objects.
  • Index(es):
    • Date
    • Thread