Re: launchd daemon and Distributed Objects.
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