Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launchd daemon and Distributed Objects.



Thanks!

I had a suspicion that was the case. It wasn't clear in the SampleD readme that there was
alternatives to setting up a launchd daemon.


bob.


Robert Monaghan Glue Tools 629 State St. Suite 220 Santa Barbara, CA, 93101 United States

tel: +1 805 456 7997
fax: +1 805 456 7998

www.gluetools.com



On Oct 22, 2007, at 3:31 AM, email@hidden wrote:


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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >launchd daemon and Distributed Objects. (From: Robert Monaghan <email@hidden>)
 >Re: launchd daemon and Distributed Objects. (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.