I've repeated this setup with OS X 10.4 (Tiger).  Some changes to the
XML file were necessary, because I'd installed a non-system Python,
twisted, and zope.interface on this machine, and because on Tiger,
launchd daemon were not allowed to set their group ID.  Here's the Tiger
version, which again goes in
/Library/LaunchAgents/org.python.buildbot.slave.plist.

Bill

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>StandardOutPath</key>
        <string>twistd.log</string>
        <key>StandardErrorPath</key>
        <string>twistd-err.log</string>
        <key>EnvironmentVariables</key>
        <dict>
                <key>PATH</key>
                
<string>/Library/Frameworks/Python.framework/Versions/2.6/bin:/sbin:/usr/sbin:/bin:/usr/bin</string>
                <key>PYTHONPATH</key>
                
<string>/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages</string>
        </dict>
        <key>KeepAlive</key>
        <dict>
                <key>SuccessfulExit</key>
                <false/>
        </dict>
        <key>Label</key>
        <string>org.python.buildbot.slave</string>
        <key>ProgramArguments</key>
        <array>
                
<string>/Library/Frameworks/Python.framework/Versions/2.6/bin/twistd</string>
                <string>-no</string>
                <string>-y</string>
                <string>/Users/buildbot/buildarea/buildbot.tac</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>UserName</key>
        <string>buildbot</string>
        <key>WorkingDirectory</key>
        <string>/Users/buildbot/buildarea</string>
</dict>
</plist>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to