Configuring client properties

In addition to setting client properties in the <client_install_dir>/Core/config/client.properties file, you can add them to the SCANCENTRAL_VM_OPTS environment variable. A property value set in the SCANCENTRAL_VM_OPTS environment variable overrides any equivalent property set in the client.properties file. The following example sets the client authorization token and the connection timeout between the Controller and a client:

  • On a Windows system: set SCANCENTRAL_VM_OPTS=-Dclient_auth_token=<token> -Drestapi_connect_timeout=10000

  • On a Linux system: export SCANCENTRAL_VM_OPTS=-Dclient_auth_token=<token> -Drestapi_connect_timeout=10000

You can also set Java system properties (such as -Djava.io.tmpdir=<path>) in the SCANCENTRAL_VM_OPTS environment variable.