<< View previous version | view page history | view next version >>
This document explains how to install QuickBuild server as system service. The process of installing build agent and user agent is the same except that you need to replace occurrance of server.sh (or server.bat) with agent.sh (or agent.bat).
Mac OS
From Mac OS X v10.4 Tiger, Apple introduced a new system startup program called launchd. QuickBuild agent can be installed as a service by creating a configuration file com.pmease.quickbuild.plist in direcory /Library/LaunchDaemons, below is a skeleton for it:
<?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>Label</key> <string>com.pmease.quickbuild</string> <key>ProgramArguments</key> <array> <string>/Library/Application Support/VMware Fusion/boot.sh</string> <string>start</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist>
To run QuickBuild Agent using a specified user, you may add below property to com.pmease.quickbuild.plist:
<key>UserName</key> <string>my_user_name</string>
NOTE Please make sure the user name you specified here have the full access rights to your QuickBuild agent installation directory.
For more information on launchd, please read below reference: