License Server
 

Configuring data directory

Last modified: 25 August 2023

These settings are available starting from build #19340.

License Server (FLS) stores the list of available licenses, UID and the registration state in .jb-license-server, which is a hidden subdirectory in the home directory of system user that launched the application. You can change the default data directory, for example, if you need to store the data in any encrypted directory or want to create backups.

  1. Change to the FLS installation directory using the command line.

  2. Stop FLS using the following command:

    ./bin/license-server.sh stop
  3. note

    FLS's system user must have read and write permissions for the desired data directory.

    Set the value of jb.license-server.base-dir option to the selected data directory. For example, if you want to use /home/user/fls, run in the command line:

    ./bin/license-server.sh configure \
    --jb.license-server.base-dir=/home/user/fls
    To keep FLS registered make sure that the data in mentioned directory is kept unchanged.

    note

    The path to the selected directory must be absolute, not relative.

  4. Start FLS using the following command:

    ./bin/license-server.sh start
  5. Check that directory .jb-license-server was created under selected directory using the command line. Since this directory is hidden, use the command ls -la to see all content of selected directory.