Configuration Values Editable from the Command Line

Use the following options with the ./install-system.sh command to edit current configuration settings for the license server service. (Running ./install-system.sh --help also lists these command-line options.)

Configuration Values Editable from the Command Line

Setting

Description

--program-dir dir

The installation location of the license server service (default is /opt/flexnetls/producer_name).

--data-dir dir

The location of trusted storage (default is /var/opt/flexnetls/producer_name). This overrides the server.trustedStorageDir value in the producer-settings.xml.

--user user_name

The user name under which the service runs (default is flexnetls).

--group group_name

The group name under which the service runs (default is flexnetls).

--java_home path
or
--jre_home path

The path for JDK or JRE installation that the license server should use.

By default, the license server uses the value of your JAVA_HOME or JRE_HOME system environment variable, whichever is defined on your device, to determine the Java installation location. However, if you want the license server to use different Java installation on your system, provide the explicit path for the installation as either the java_home or jre_home value. (This override pertains to the license server only; your device in general continues to use the Java installation defined by the system environment variable.)

The following two settings—“port” and “logging-threshold”—do not exist in the .conf file. However, if you update either setting using the command-line option, the new value is captured in the local-configuration.yaml file during its creation and is subsequently used by the license server service. If neither setting is updated, the service uses the default value (or the value specified in producer-settings.xml) for the setting.

--port port

The listening port used by the license server service (default is 7070).

If the machine on which the license server is running uses multiple network interfaces, you can use the --port option to specify the interface that you want the license server to use. Simply include the IP address for the interface in square brackets, as shown in this example:

--port [127.0.0.1].1443 

--logging-threshold level

The lowest level of log-message granularity to record—FATAL, ERROR, WARN, INFO, LICENSING, POLICY, or DEBUG. For example, if FATAL is set, only messages about fatal events are recorded. However, if WARN is set, fatal-event, error, and warning messages are recorded. (Default is INFO.)

The POLICY threshold records information about the checkout process when feature selectors are used to filter features.

For more information about logging levels, see section Logging Policies in Reference: License Server Policy Settings.