ListsandcontrolsallyourmacOSstartupitemsandtheirstartuppolicy.
TakebackcontrolofyourmacOSsystem!
%maclaunchlistmicrosoft>com.microsoft.update.agentType:userUser:hazcodLaunch:disabledFile:/Library/LaunchAgents/com.microsoft.update.agent.plist>com.microsoft.teams.TeamsUpdaterDaemonType:systemUser:rootLaunch:disabledFile:/Library/LaunchDaemons/com.microsoft.teams.TeamsUpdaterDaemon.plist>com.microsoft.office.licensingV2.helperType:systemUser:rootLaunch:disabledFile:/Library/LaunchDaemons/com.microsoft.office.licensingV2.helper.plist>com.microsoft.autoupdate.helperType:systemUser:rootLaunch:disabledFile:/Library/LaunchDaemons/com.microsoft.autoupdate.helper.plistHowdoesitwork?maclaunchwilllistalltypesofentriesonyourmacOSsystemthatcanbepersistentlyinstalled:
ConfigurationfilesforLaunchAgentsandLaunchDaemonswhichareloadedbylaunchctl.Kernelextensionsloadedinthekernel.Systemextensionsloadedinuserspace.LoginorLogoutHooksemon.dscriptsCronscriptsWhendisablinganitem,ituseslaunchctl,kextutilorsystemextensionsctltonativelystoploadingthatservice.Itdoesnotalterthecontentsinanywayormovesthefile,soitshouldworkwithpracticallyanyservice.
Thenameyouprovidecaneitherbespecifictothatserviceorfunctionasafiltertoworkonmultipleservicessimultaneously.
Bydefaultithidessystemstartupitemswhicharemostlikelynotinteresting,butyoucansettheenvironmentvariableML_SYSTEM=1toshowthose.
InstallationInstallationcanbedonestraightfrommyHomebrewtapviabrewinstallhazcod/homebrew-hazcod/maclaunchorjustcopymaclaunch.shtoyourfilesystem.
UsageUsage:maclaunch<list|disable|enable>(filter|system)
Tolistallyourservices:maclaunchlist
Tolistallenabledservices:maclaunchlistenabled
Tolistallenabledservices,ignoringinternalones:ML_SYSTEM=nomaclaunchlistenabled
Tolistalldisabledservices:maclaunchlistdisabled
Tolistallyourservicesincludingsystemservices:maclaunchlistsystem
Tolistallmicrosoftservices:maclaunchlistmicrosoft
Toenableplexplayer-helper:maclaunchenabletv.plex.player-helper
Todisableeverythingrelatedtoplex:maclaunchdisableplex
评论