Skip to content

launchctl - load or unload daemons with launchd — by SS64.com

advancedpageLink only (©)

Reference for launchctl including the modern bootstrap and bootout subcommands, which replace the legacy load and unload and generally avoid sudo for user agents. Shows print, bootstrap gui/<uid> and bootout examples.

Quick steps

  1. launchctl bootstrap gui/<uid> <plist>
  2. launchctl bootout gui/<uid> <plist>

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on ss64.com

Source: launchctl - load or unload daemons with launchd by SS64.com. Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

launchctllaunchdmacosterminal

More in Scheduling (Task Scheduler, launchd, cron)

Run bash (.sh) via launchd using a plist in /Library/LaunchAgents — by VikingOSX and etresoft on Apple Community

intermediateforum

VikingOSX shows a working LaunchAgent for a shell script: plist in ~/Library/LaunchAgents with 644 permissions, Label, RunAtLoad, StartInterval and full paths only. The original poster got theirs working after moving the script out of ~/Documents, and etresoft points to privacy permissions instead, noting shell scripts silently fail without Full Disk Access.