Service Management framework supports installing and uninstalling services, including Service Management login items, launchd
agents, and launchd
daemons.
General:
- Forums subtopic: App & System Services > Processes & Concurrency
- Forums tag: Service Management
- Service Management framework documentation
- Daemons and Services Programming Guide archived documentation
- Technote 2083 Daemons and Agents — It hasn’t been updated in… well… decades, but it’s still remarkably relevant.
- EvenBetterAuthorizationSample sample code — This has been obviated by
SMAppService
. - SMJobBless sample code — This has been obviated by
SMAppService
. - Sandboxing with NSXPCConnection sample code
- WWDC 2022 Session 10096 What’s new in privacy introduces the new
SMAppService
facility, starting at 07˸07 - BSD Privilege Escalation on macOS forums post
- Background items showing up with the wrong name forums post
Related forums tags include:
- XPC, Apple’s preferred inter-process communication (IPC) mechanism
- Inter-process communication, for other IPC mechanisms
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"