Mac launchd: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:


<code>[[Brew|brew]]</code> can configure services to be started by <code>launchd</code>.
<code>[[Brew|brew]]</code> can configure services to be started by <code>launchd</code>.
<code>launchd</code> identifies services by their "labels" (example: "com.apple.bluetoothd").


=Operations=
=Operations=

Revision as of 17:35, 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

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