Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

launchctl

  1. D

    MP 7,1 After moving User folder to separate internal drive, My Mac Pro 7,1 Resets associated apps for file types

    Ever since I moved my user folder to a separate internal drive (using a PCIe m.2 adapter), whenever I set any app to be the default for certain file types or in settings, it resets them to the defaults every time I reboot. For example, after I boot up, Outlook is no longer the default email...
  2. C

    Long List of "externally-hosted endpoints" when reviewing launchctl gui processes

    Running the command sudo launchctl print gui/501 I have the list of services, unmanaged processes?, endpoints (empty array), externally-hosted endpoints (very long list), task-special ports, and the services I've disabled. What are externally-hosted endpoints? Is it normal for this to be a full...
  3. M

    Best way to disable system services permanently?

    What is the best way to disable system services (on Monterey)? As an example I'd like to completely remove bluetoothd (among others). Usually you use launchctl but afaik this does not work on system services. Another approach is to move the plist file. I tried that and it works in general...
  4. A

    Mac Application do not start on system reboot

    I have created a LaunchDaemon service which runs a application sudo launchctl load /Library/LaunchDaemons/com.testapp.plist Here is my com.testapp.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"...
  5. A

    macOS Run Script with Launchd at Login

    I'm attempting to setup a Launch Agent that will run a simple shell script to mount a FUSE drive at login. I have written a .plist file and moved it into the ~/Library/LaunchAgents/ directory (shown below). Both the .plist and the shell script have permissions of 755. I am able to use the...