MyNixOS website logo

Definition of per-user launchd agents.

When a user logs in, a per-user launchd is started. It does the following:

  1. It loads the parameters for each launch-on-demand user agent from the property list files found in /System/Library/LaunchAgents, /Library/LaunchAgents, and the user’s individual Library/LaunchAgents directory.
  2. It registers the sockets and file descriptors requested by those user agents.
  3. It launches any user agents that requested to be running all the time.
  4. As requests for a particular service arrive, it launches the corresponding user agent and passes the request to it.
  5. When the user logs out, it sends a SIGTERM signal to all of the user agents that it started.
Declarations
    Type
    attribute set of (submodule)
    Default
    { }