- Launchd
-
Launchd — система инциализации системы с открытым исходным кодом, используемая в ОС Mac OS X. Процесс имеет PID 1 и занимается тем, что запускает другие процессы и перезапускает их в случае сбоя, то есть выполняет функции init в Linux. Также исполняет обязанности cron. Процессы, запускаемые после запуска системы до входа в систему, записываются в каталог /Library/LaunchDaemons. Процессы, запускаемые после входа в систему — в каталоге /Library/LaunchAgents. В этих каталогах создаются файлы с xml-содержимым, которые управляют запуском процессов. Launchd — ещё одна причина быстрой загрузки Mac OS X. В настоящее время проводятся работы по переносу launchd на Linux.
Ссылки
- System Startup Programming Topics: Creating launchd Daemons and Agents at developer.apple.com
- Technical Note TN2083: Daemons and Agents at developer.apple.com
- Getting Started with launchd cache on web.archive.org originally at developer.apple.com
- launchd in Depth from AFP548, published July 08 2005. The basis for much of this article.
- launchd: One Program to Rule Them All – Google Tech talk video presentation by the developer of launchd.
- All About launchd Items (and How To Make One Yourself): The creation of property lists for launchd
- launchd site at macosforge.org contains the official subversion repository for the launchd source.
- launchd's source code at Mac OS Forge (click on "trunk", then "Zip Archive" to get the full source)
- launchd - FreeBSD-Wiki, launchd ported to FreeBSD
Категории:- Mac OS X
- Системные и сервисные менеджеры
Wikimedia Foundation. 2010.