Install As System Service

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

Install QuickBuild Agent As System Service

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:

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