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 #
Location | Type |
---|---|
/Library/LaunchAgents | Administrator controlled Agents for a specific user |
/Library/LaunchDaemons | System-wide daemons provided by the administrator. |
/System/Library/LaunchDaemons | Default daemons provided by iOS. |