Server Command Line ParametersThe c-treeACE Server has been improved to accept configuration information from the command line in addition to the settings and configuration files. Configuration keywords and values listed as command line arguments take affect after a settings file, ctsrvr.set, if any, and before the standard configuration file, ctsrvr.cfg. A command line entry cannot override a settings file entry, and a configuration file entry cannot override a command line entry (or a settings entry). For more information on settings files (ctsrvr.set), see additional documentation included in these notes related to Server Configuration File Security. All valid configuration file keywords are supported and may be listed on the command line followed by an appropriate value. No special switch symbols or syntax is required. Simply enter each keyword followed by a value as follows: ctsrvr FUNCTION_MONITOR YES LOCAL_DIRECTORY C:\MYDATA\ To specify the name and location of your server configuration file, ctsrvr.cfg, when launching the c-treeACE Server from the command line, use the new command line keyword CTSRVR_CFG followed by a fully qualified configuration file name as follows: ctsrvr CTSRVR_CFG C:\myServer\ctsrvr.cfg or ctsrvr CTSRVR_CFG /usr/myserver/myinfo.cfg The CTSRVR_CFG command line keyword is typically used when running two Servers on the same machine, described elsewhere. Note: The FCSRVR_CFG environment variable supersedes the CTSRVR_CFG keyword, so the file specified in the environment variable will always be the file used. |
|||