Launchctl is documented in (surprise) man launchctl but that's not for the faint of heart. ![]() Every mac user should have at least some vague idea of what launchctl does because it manages far more than Anåonnect: basically every process not manually started by the user. ![]() Launchctl is the equivalent of systemd on Linux or services.msc on Windows. Don't take the risk to miss those extra bits use the official and documented user interface. When there's a user interface it's very likely because it does more than just moving one file. ![]() For example, trying to run sudo launchctl unload -w /Library/LaunchAgents/.plist results in an error "Could not find specified service", whereas without the sudo it works. NB: be careful NOT to run sudo launchctl and NOT to run launchctl from a root terminal, because launchctl is user-dependent. Launchctl load -w /Library/LaunchAgents/.plist Launchctl unload -w /Library/LaunchAgents/.plist Always prefer the user interface when there is one rather than messing with files directly: launchctl list | grep -i cisco ![]() If it's not in "Login Items" then it has to be in launchctl.
0 Comments
Leave a Reply. |