License Server Help

License Server commands reference

## Usage:

/bin/sh /path-to-installation-folder/bin/license-server.sh command

command can be one of the following:

configure argument1 argument2 (arguments can be the following: --property name=property value) - changes the value of the specified property/parameter

-f properties file path - reads the properties from the specified file and applies its values

-J*JVM option* - adds the specified JVM option to the JetBrains License Service JVM options list, see additional comments in the "conf/license-server.jvmoptions" file

Use "--J*JVM option*" options to specify the ad-hoc JVM options. Use "--launcher" option to configure the launcher only and not pass the specified properties to JetBrains License Service.

start - starts JetBrains License Service in background,

start soft - starts JetBrains License Service in background softly (timeout is not applied in this case)

run - runs JetBrains License Service in the current console

status - prints JetBrains License Service status (exits with code 0 if JetBrains License Service is alive, 1 otherwise)

status short - prints short and parsable JetBrains License Service status (exits with code 0 if JetBrains License Service is alive, 1 otherwise)

stop - shuts JetBrains License Service down

stop soft - shuts JetBrains License Service down softly (timeout is not applied in this case)

restart - restarts JetBrains License Service in background

**restart soft - restarts JetBrains License Service in background using soft shutdown and soft start (wait till the application quits gracefully and start)

rerun - reruns JetBrains License Service in the current console

rerun soft - reruns JetBrains License Service in the current console using soft shutdown

dump threads - dumps JetBrains License Service threads

dump threads to-file - dumps JetBrains License Service threads to the file under the logs directory

dump threads to-file short - same as "dump threads to-file", but prints to the console nothing but the absolute path of the created file

dump heap - dumps JetBrains License Service heap to the file under the logs directory

dump heap short - same as "dump heap", but prints to the console nothing but the absolute path of the created file

kill - kills JetBrains License Service process

java print - finds Java executable according to the JetBrains License Service settings and prints it to the console. You can use it to check what Java version is used if there are more than one on the server.

java set path to Java home or Java executable - sets the specified Java to be explicitly used by JetBrains License Service if it has proper version and attributes

java reset - resets the explicitly set Java path for JetBrains License Service

help - prints usage text

**help _command-name** - prints usage text for the specified command

Last modified: 19 December 2017