Launchd: Difference between revisions

From iPhone Development Wiki
m (Formatting.)
Line 1: Line 1:
{{DISPLAYTITLE:launchd}}
{{DISPLAYTITLE:launchd}}
'''launchd''' is a "system wide and per-user daemon/agent manager." It is a daemon that handles daemons<!-- daemon overlord -->. Use [https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/launchctl.1.html#//apple_ref/doc/man/1/launchctl launchctl] to interface it.
'''launchd''' is a "system wide and per-user daemon/agent manager." It is a daemon that handles daemons<!-- daemon overlord -->. Use [https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/launchctl.1.html#//apple_ref/doc/man/1/launchctl launchctl] to interface it.


== Configuration files ==
= Configuration files =


launchd uses plist files to know how to interact with each installed daemon/agent. It is explained [https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man5/launchd.plist.5.html here].
launchd uses plist files to know how to interact with each installed daemon/agent. It is explained [https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man5/launchd.plist.5.html here].


== Configuration file locations ==
= Configuration file locations =


{| class="wikitable"
{| class="wikitable"
Line 23: Line 24:
|}
|}


== External links ==
= External links =


* [https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/launchd.8.html#//apple_ref/doc/man/8/launchd launchd]
* [https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/launchd.8.html#//apple_ref/doc/man/8/launchd launchd]


[[Category:Daemons]]
[[Category:Daemons]]

Revision as of 19:19, 2 January 2016


launchd is a "system wide and per-user daemon/agent manager." It is a daemon that handles daemons. Use launchctl to interface it.

Configuration files

launchd uses plist files to know how to interact with each installed daemon/agent. It is explained here.

Configuration file locations

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.

External links