Using multiple configuration files

You can modularize your configuration by creating multiple configuration files and directories and including these in your configuration.

  • To include a specific file, use the following syntax:

    include pathToFile
  • To include directories, use the following syntax:

    include directoryPath

    When including directories, p4dctl requires that names for files included end with the .conf extension.

The following example shows a multiple file configuration.

Environment
{
  PATH       = /bin:/usr/bin:/usr/local/bin
}

  include /etc/perforce/p4dctl.conf.d