launchdaemons vs. launchagents

July 10th, 2008 by Charles Edge

Note: For more information about the information contained in this article, contact us for a professional consultation.

There are two types of services that launchd manages:

launch daemons can run without a user logged in. launch daemons cannot display information using the GUI. launch daemon configuration plist files are stored in the /System/Library/LaunchDaemons folder (for those provided by Apple et al) and /Library/LaunchDaemons (for the rest)

launch agents run on behalf of a user and therefore need the user to be logged in to run. launch agents can display information through the window server. As with launch daemons, launch agent configuration plist files are stored in the /System/Library/LaunchAgents and /Library/LaunchAgents. User launch agents are installed in the ~/Library/LaunchAgents folder.

Tags: , , , , , , , ,

Comments are closed.