aliases:
tags:
- Type/Tech/Platform/Apple
- area/tech/apple
- seed
publish: true
version: 1
dateCreated: 2023-07-27, 08:40
dateModified: 2024-02-29, 15:56
from:
- "[[macOS]]"
related:
- "[[Nix Services, Processes, & init System]]"
- "[[Apple]]"
contra: []
to: []
Launchd is an init and operating system service management daemon created by Apple Inc. as part of macOS to replace its BSD-style init and SystemStarter. There have been efforts to port launchd to FreeBSD and derived systems. | |
---|---|
wikipedia:: Launchd |
launchd
launchctl
Apple defines a LaunchDaemon as a general background service, without any form of GUI. Specifically, LaunchDaemons are not allowed to connect to the macOS window server. LaunchAgents do have access to the GUI, and to other system features such as locating the current user’s Home folder, but generally have more limited interfaces than do regular apps.
launchctl load /Users/evan/Library/LaunchAgents/com.evan.updateMac.plist
launchctl disable /Users/evan/Library/LaunchAgents/com.evan.updateMac.plist
launchctl
list
start
stop
enable
disable
reboot
kickstart
kill