#------------------------------------------------------------------------------- # Sample /etc/perforce/p4dctl.conf file for p4dctl # # Specify the servers that run on your box ensuring that you specify at least # the following variables for each server: # # Owner - the username to start the server under # Execute - the binary to run # PATH - the Unix path (in an environment block) # # Optionally, you may also specify: # # Args - a string containing any command line arguments to pass. Note # that since arguments are separated by spaces, you should # enclose the string in double quotes ("") # # Specific server types will also have required variables, for example the # 'p4d' type requires the presence of P4ROOT and P4PORT in the environment. # #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # Global environment variables #------------------------------------------------------------------------------- Environment { P4DEBUG = "server=3" # Quoted because of embedded '=' P4LOG = log P4CONFIG = .p4config } #------------------------------------------------------------------------------- # Server specifications #------------------------------------------------------------------------------- p4d main { Owner = perforce Execute = /opt/perforce/sbin/p4d Prefix = /var/lib/perforce/p4-main/main Environment { P4ROOT = /home/perforce/p4-main P4JOURNAL = journal P4PORT = ssl:1666 P4SSLDIR = ssl PATH = /bin:/usr/bin:/usr/local/bin:/opt/perforce/sbin } } p4d test { Owner = tony Execute = /opt/perforce/sbin/p4d Enabled = false Umask = 077 Environment { P4ROOT = /home/tony/p4tmp P4JOURNAL = journal P4PORT = ssl:1667 PATH = /bin:/usr/bin:/usr/local/bin:/opt/perforce/sbin } } p4p india { Owner = perforce Execute = /opt/perforce/sbin/p4p Environment { P4PCACHE = /home/perforce/p4p-india P4TARGET = india.mycorp.com P4PORT = 1777 PATH = /bin:/usr/bin:/usr/local/bin:/opt/perforce/sbin } } #------------------------------------------------------------------------------- # Or you can include from external files and directories # # For example: # # include /etc/perforce/p4d-main.conf (includes a single file) # include /etc/perforce/p4dctl.conf.d (includes *.conf files from a directory) #-------------------------------------------------------------------------------