launchd

By: James Reynolds - Revised: 2014-01-23 richard

Download Slides – PDF-File, 318.3 KB

Introduction

For Mac OS X 10.4, Apple created launchd. It is one launch daemon to rule them all. Launchd does the job of all of the existing program launching mechanisms, and does it in a way that puts the least possible burden on the programs that it launches. Processes spawned by launchd don't have to worry about "daemonizing" themselves, checking for dependencies, or relaunching or keeping communication handles alive in the case of a crash.

James gave an overview of launchd and how it will change your implementation of startup, login & logout scripts. He also demonstrated Launchd Editor, which is a graphical editor for launchd property list files.