Daemons and Agents - hewigovens/hewigovens.github.com GitHub Wiki
- Apple Technical Note TN2083 [Daemons and Agents](https://developer.apple.com/library/mac/#technotes/tn2005 /tn2083.html)
- Daemons and Services Programming Guide
Launching a daemon:
Launching an agent:
Ways to Manipulate Login items:
- Service Management Framework(after 10.6.6)
- Shared File List
- Apple Event or CFPerference API
###Bugs/Workaround
sudo -u user launchctl load/unload job
not work on 10.5, different context- Must add Login session type on 10.6, e.g.
launchctl load -S Aqua job
- Global Login Item is deprecated, adding or deleting need root privilege.