Agents & Daemons

Agents & Daemons #

  • Daemon : System wide services that always run in background (runs at root)
  • Agents : Basically the same thing as a daemon, but runs on behalf of the logged-in user, not the root user

Each agents and Daemons have a corresponding .plist which is used by launchd to run them.

Configuration files location #

/Library/LaunchAgentsAdministrator controlled Agents for a specific user
/Library/LaunchDaemonsSystem-wide daemons provided by the administrator.
/System/Library/LaunchDaemonsDefault daemons provided by iOS.