Overview
ProVide supports storing resources that are typically located within its installation folder in other locations. For example, you can store logs on a different drive. This is achieved by starting ProVide and supplying one or more of the /config switches. The available switches are as follows:
- /config “<path\to\resource>”: Configures the base path where resources are stored. If this is the only switch provided, everything will be stored here.
- /config-log “<path>”: Configures the path for logs.
- /config-accounts “<path>”: Configures the path for accounts.
- /config-extensions “<path>”: Configures the path for licenses.
- /config-certificates “<path>”: Configures the path for certificates.
- /config-templates “<path>”: Configures the path for templates.
- /config-customize “<path>”: Configures the path for customization files of HTTPS.
- /config-customize-admin “<path>”: Configures the path for customization of Admin GUI.
- /config-customize-bin-osx “<path>”: Configures the path for binaries used by OSX users.
- /config-customize-bin-windows “<path>”: Configures the path for binaries used by Windows users.
Examples
- Suppose ProVide is installed in C:\Program Files\ProVide, but due to space limitations, you want logs and accounts to be stored in D:\ProVide\Logs and D:\ProVide\Accounts, respectively. You can achieve this by starting ProVide with the following switches:
“C:\Program Files\ProVide\ProVide.exe” /config-log “D:\Provide\Logs” /config-accounts “D:\ProVide\Accounts” - If you want ProVide to be installed in C:\Program Files\ProVide, but want all resources to be stored in D:\Provide, except for logs (which you want in E:\logs\ProVide), start ProVide with the following switches:
ProVide.exe /config “D:\provide” /config-log “E:\logs\provide”
Different Ways of Starting
Depending on how you start ProVide—either by running the .exe directly or as a service—there are different ways of supplying the switches:
- Starting the .exe manually:
- Create a shortcut to ProVide.exe and supply the switches. Enter these in the “Target” box as follows: “<\path\to\provide.exe>” /config… “<\path\to\store>”
- Create a shortcut to ProVide.exe and supply the switches. Enter these in the “Target” box as follows: “<\path\to\provide.exe>” /config… “<\path\to\store>”
- Running as a service:
- Edit the registry and change the value for ImagePath, located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProVideSvc, to: “<path\to\provide.exe>” /service /config… “<path\to\store>”
- Edit the registry and change the value for ImagePath, located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProVideSvc, to: “<path\to\provide.exe>” /service /config… “<path\to\store>”
Important Information
Changing the path where ProVide stores a resource does not automatically move existing data. If account storage is moved, already configured accounts will not be relocated, and ProVide will not be able to read them. The same applies to logs, customization data, etc. Ensure that all relevant information is copied/moved to the custom path before starting ProVide Server.