On 3 Apr '08, at 11:33 PM, Andrew Farmer wrote:

The equivalents of Windows services are login items and startup items

StartupItems are deprecated. Instead, you register daemons with launchd by putting a plist in /Library/LaunchDaemons/.

A "login item" is a user-visible application that gets launched when the user logs in. Generally the users' in charge of configuring those. A background process should register with launchd, by putting a plist in ~/Library/LaunchAgents/.

Management by launchd has a lot of advantages over StartupItems and login items, in that the processes can be configured to launch only on demand (i.e. if there's an incoming TCP connection, or if a folder is modified) and to be quit when they're idle.

The Apple technote referred to by one of the previous people in this thread is the best place to start reading.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to