Definition of launchd daemons.
After the system is booted and the kernel is running, launchd is run to finish the system initialization. As part of that initialization, it goes through the following steps:
- It loads the parameters for each launch-on-demand system-level daemon from the property list files found in /System/Library/LaunchDaemons/ and /Library/LaunchDaemons/.
- It registers the sockets and file descriptors requested by those daemons.
- It launches any daemons that requested to be running all the time.
- As requests for a particular service arrive, it launches the corresponding daemon and passes the request to it.
- When the system shuts down, it sends a SIGTERM signal to all of the daemons that it started.
attribute set of (submodule)