Changes between Version 3 and Version 4 of UsingLaunchd


Ignore:
Timestamp:
09/02/08 08:53:20 (5 years ago)
Author:
warner
Comment:

add note on StartupItemContext? and TN2083

Legend:

Unmodified
Added
Removed
Modified
  • UsingLaunchd

    v3 v4  
    44 
    55It is fairly easy to run a buildbot slave or master as a launchd job. 
     6 
     7Processes on OS-X do not derive all of their authority by virtue of their userid/groupid alone. There are several low-level Mach ports and Mach namespaces which are used for, among other things, DNS lookup and disk image handling (the hdiutil program, used to create .dmg files for installers). A buildbot process which is not started through launchd may not work properly. Worse yet, some of these authorities will be available to a process started in an ssh session, but will go away once you log out of that ssh session.  [http://developer.apple.com/technotes/tn2005/tn2083.html Technical Note TN2083] has more background. The {{{/usr/libexec/StartupItemContext}}} utility may be necessary even for jobs started under launchd. 
    68 
    79== Sample launchd job property list for a buildbot slave ==