Service Management framework supports installing and uninstalling services, including Service Management login items, launchd agents, and launchd daemons.
General:
-
DevForums 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.
-
BSD Privilege Escalation on macOS DevForums post
-
EvenBetterAuthorizationSample sample code
-
SMJobBless sample code
-
Sandboxing with NSXPCConnection sample code
Related 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"