I created some job plist files and put them in ~/Library/LaunchAgents
. Now I don't see the point of this special directory (see launchd manpage). When I want to load a job, I have to specify a whole path to a plist file. Or can I somehow restart launchd so that it reads those files again?
What are launchd’s LaunchAgents directories for
launchdplist
Related Question
- Launchd notification on abnormal exit
- MacOS – Can launchd be made to set a different owner on files it creates while executing a .plist job
- MacOS – Can’t get launchd task to run
- Why is launchd saying “service already loaded” but “launchctl list” doesn’t show the service
- Plist Not Running AppleScript using launchctl
- A launchd job without plist file, how does that work and how to find what job triggers it
- MacOS – How to figure out how a process auto started itself after login
Best Answer
Depending on the key
Disabled
the job definitions in~/Library/LaunchAgents
will be loaded automatically bylaunchd
whenever the user logs in.