• 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
Launch Daemon Best Practices?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launch Daemon Best Practices?


  • Subject: Launch Daemon Best Practices?
  • From: Karl Moskowski <email@hidden>
  • Date: Tue, 11 Mar 2008 18:30:00 -0400

I'm working on a utility that has to be running even if no one is logged in. A bit of research leads me to think I should implement it as a launch daemon, with a separate configuration UI.

Am I on the right track, or is there a better approach? Any pointers to sample code?

I assume I'm going to have to get the GUI to write settings to / Library/Preferences/, and notify the daemon of to reload changes via distributed objects. Is it possible to get NSUserDefaults to write there (instead of ~/Library/Preferences/)?

Thanks.

--Karl.
_______________________________________________

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: Launch Daemon Best Practices?
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: NSTableView + delete button?
  • Next by Date: Re: warning: assignment from distinct Objective-C type
  • Previous by thread: Re: NSTableView + delete button?
  • Next by thread: Re: Launch Daemon Best Practices?
  • Index(es):
    • Date
    • Thread