You can install the LM-X license server as a service under Windows or run it as a daemon under Unix. The lmx-serv command usage is as follows.
On Windows systems:
Command |
Options |
lmx-serv-vendor --install_service |
[--config |
lmx-serv-vendor --uninstall_service |
[--config |
lmx-serv-vendor |
[--config |
On Unix Systems:
Command |
Options |
lmx-serv-vendor |
[--background --config |
Where:
Command |
|
|
Description |
Long version |
Short version |
Applies to |
|
-install_service |
-i |
Windows |
Install the license server as a service. |
-uninstall_service |
-u |
Windows |
Uninstall the license server as a service. |
-background |
-b |
Unix |
Run the license server as a daemon in the background. |
-config |
-c |
All |
Specify an optional path to an lmx-serv.cfg configuration file. Typing the full path is required. If the server is run without the -c parameter, it will use default settings. |
-licpath |
-l |
All |
Specify an optional license file path that will be read in addition to those specified within the lmx-serv.cfg configuration file. |
-logfile |
-lf |
All |
Specify an optional logfile path, which will override any logfile settings in the lmx-serv.cfg configuration file. |
-port |
-p |
All |
Specify an optional port number, which will override the port number set in the configuration file. |
-help |
-h |
All |
Print out usage information for these commands. |
We recommend enclosing all switches (e.g., configuration file path) within double quotes (" ") to avoid problems with white spaces. -b [-config /
The following example demonstrates the installation and uninstallation of the license server as a service on Windows.
For Unix systems, to automate the execution of the license server, edit /etc/rc.boot, /etc/rc.local or other location from which your startup files get called. It is not recommended to run the license server as root, so run lmx-serv-vendor as follows:
sudo u user /path/to/lmx-servvendor
where the path to a configuration file is optional. See your Unix system documentation for further information on setting up execution of applications at system startup.