P4BROKEROPTIONS

Description

Set Perforce Broker options for a Windows service.

Usage Notes

Used by Client? Used by Server? Command-Line Alternative Can be set in P4CONFIG file?

No

Yes

p4broker %P4BROKEROPTIONS%

N/A

Value if not Explicitly Set

Operating System Value

All

Null

Notes

For example, if you normally run the Broker with the command:

p4broker -c c:\p4broker\broker.conf

you can set the P4BROKEROPTIONS variable for the Windows service to run with:

p4 set -S "Broker" P4BROKEROPTIONS= "-c c:\p4broker\broker.conf"

When you run P4Broker under the "Broker" service, the Broker will configure itself using the specified broker.conf file. Use P4BROKEROPTIONS when you need to call p4broker with options for which there are no corresponding environment variables, or when you are doing so within the context of a Windows service.

For more information on the Perforce Broker, see Helix Versioning Engine Administrator Guide: Multi-site Deployment.