P4BROKEROPTIONS

Set Helix 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.

See Helix Broker in the Helix Core Server Administrator Guide.