Mac launchd: Difference between revisions
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
launchctl list com.apple.bluetoothd | launchctl list com.apple.bluetoothd | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Stop a Service== | |||
=Organizatorium= | =Organizatorium= |
Revision as of 17:40, 8 October 2024
External
Internal
Overview
brew
can configure services to be started by launchd
.
launchd
identifies services by their "labels" (example: "com.apple.bluetoothd").
Operations
Show Status of a Service
launchctl list com.apple.bluetoothd
Stop a Service
Organizatorium
System httpd keeps starting in foreground
I fixed with:
launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
but I don't know what determined it to suddenly start, and why the above command worked.
Is a Service Running?
launchctl list | grep com.something.someprocess