Install As System Service

You are viewing an old version (v. 4) of this page.
The latest version is v. 11, last edited on Dec 24, 2009 (view differences | )
<< View previous version | view page history | view next version >>

This document explains how to configure QuickBuild server to run as system service. The process for 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).

On Windows Platform

Run

On Mac OS X

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:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.