Custom path to the license file

Use this guide to change the default license directory to a custom one.

1. Install the latest package using the Installation guides.

Skip the license activation step.

2. After successful installation, stop AppServer.

3. Navigate to the AppServer folder and open the AppServerX.xml file for editing.

4. Add the PathToServiceFilesDirectory tag to the root tag of AppServerX.xml.

This sets the base directory for the license file and other service data (for example, Resources/).

Default path:

  • /var/lib/WebSpellChecker/

Example:

<!-- Example: use a custom directory for service files -->
<PathToServiceFilesDirectory>/opt/License</PathToServiceFilesDirectory>

5. Save changes and start AppServer for the changes to take effect.

6. Activate licensing using one of the Licensing guides.

circle-check
circle-exclamation

Last updated

Was this helpful?