To make things more fun and interesting, man launchctl specifically calls out
IMPORTANT: This output is NOT API in any sense at all. Do NOT rely
on the structure or information emitted for ANY reason. It may
change from release to release without warning.
To make things even more fun, Apple is is deprecating the current form of LaunchAgents and LaunchDaemons, so we'll need to keep an eye on that...
The goal of this issue is to replace some of the older, legacy, launchctl commands with more modern ones. See https://github.com/fleetdm/fleet/issues/3995 for examples.
The most notable change to deal with is replacing the output of
launchctl list
withlaunchctl print
https://github.com/kardianos/service/blob/3596dfaf340d19b3f4d3c1029517a623367f65d5/service_darwin.go#L217To make things more fun and interesting,
man launchctl
specifically calls outTo make things even more fun, Apple is is deprecating the current form of LaunchAgents and LaunchDaemons, so we'll need to keep an eye on that...
https://developer.apple.com/documentation/servicemanagement/updating_helper_executables_from_earlier_versions_of_macos
CC: #322