Service types and required settings

Each service type requires that you define the owner of the server (which cannot be root) and the execute path where its binary can be found. For example, for the p4d type, you specify the path to the p4d binary, for the broker, you must provide the path to the p4broker binary, and so on.

For each service type, you must define the environment variables:

Type Variable Setting

p4d

P4PORT

Port to use for this service

 

P4ROOT

Path to the server’s root directory

 

PATH

Search path to be used for this service

p4p

PORT

Port to use for this service

 

P4TARGET

Address of the target Perforce service

 

P4ROOT

Path to the server’s root directory

 

PATH

Search path to be used for this service

p4broker

P4BROKEROPTIONS

Command line options to pass to this broker