[Python-Dev] OS X buildbots and launchd (original) (raw)

Bill Janssen janssen at parc.com
Sun May 16 21:33:20 CEST 2010


I can find no evidence that the buildbot installation process given on the wiki will cause the buildbot slave to be restarted after a reboot of the machine. To accomplish this, you should also undertake the work described in

http://buildbot.net/trac/wiki/UsingLaunchd

On my Leopard slave, I created the file /Library/LaunchAgents/org.python.buildbot.slave.plist, and put in it this XML:

StandardOutPath twistd.log StandardErrorPath twistd-err.log EnvironmentVariables PATH /usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin GroupName daemon KeepAlive SuccessfulExit Label org.python.buildbot.slave ProgramArguments /usr/bin/twistd -no -y /Users/buildbot/buildarea/buildbot.tac RunAtLoad UserName buildbot WorkingDirectory /Users/buildbot/buildarea

Note that I am using the system Python 2.5, and that I have configured the buildbot slave machine to login the "buildbot" account automatically upon boot, which login will cause this daemon to start, and will provide access to the GUI context for testing tk. I've configured it with a locking screensaver that starts immediately; let's see if that works OK.

I've also put "dinsdale.python.org" and "svn.python.org" in /etc/hosts.

Bill



More information about the Python-Dev mailing list