Re: launchd daemon and Distributed Objects.
Re: launchd daemon and Distributed Objects.
- Subject: Re: launchd daemon and Distributed Objects.
- From: Robert Monaghan <email@hidden>
- Date: Mon, 22 Oct 2007 08:28:24 -0700
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:
This email sent to email@hidden