I have some plist files in
I have been happily using
launchctl load -w and
launchctl unload -w to turn these on and off for years. However, I notice that now
unload are relegated to the "legacy" section of the man page. Let's call one of them
However, when I try to interact with these plists via
launchctl enable "gui/$(id -u)/com.example.service" and
launchctl disable "gui/$(id -u)/com.example.service", other launchd commands seem to report success - for example,
launchctl print "gui/$(id -u)" totally shows me disabled flags that correspond to the state that I've set - the services don't actually start and stop or listen and unlisten on their ports.
Is there some step I'm missing? For the moment I am sticking with
unload but I'd like to learn the non-deprecated way of interacting with this stuff before Apple eventually slams the door on the old/bad way...