Installing LexFloatServer
LexFloatServer can be installed as a system service. As a system service, it starts with the machine, runs in the background, and keeps running after you log out. One system service serves all your products.
Installing the system service
Install the system service with the -i option and a service name of your choice. The service name is required.
lexfloatserver -i --service-name myfloatingserverThe system service runs every enabled product in config.yml, that is, every product that does not set enabled: false. It reads config.yml each time it starts, so you can add or turn off products later: edit config.yml and restart the system service.
To have the system service run only some products, pass -p once for each product file:
lexfloatserver -i --service-name myfloatingserver -p ./products/ProductA.datThe system service then runs only the products you passed with -p, and ignores the other products in config.yml. To change which products the system service runs, uninstall the service and install it again with a different set of -p options.
Installing LexFloatServer on Windows
Run the commands in a terminal opened as Administrator. Pass a service display name to set the name shown in the Windows Services Manager. It is optional.
lexfloatserver -i --service-name myfloatingserver --service-display-name "My Floating Server"Stopping and starting LexFloatServer on Windows
sc stop myfloatingserver
sc start myfloatingserverUninstalling LexFloatServer on Windows
lexfloatserver -u --service-name myfloatingserverInstalling LexFloatServer on Linux
LexFloatServer runs as a systemd, Upstart, or SysV service on Linux, depending on the system.
sudo ./lexfloatserver -i --service-name myfloatingserverStopping and starting LexFloatServer on Linux
sudo service myfloatingserver stop
sudo service myfloatingserver startUninstalling LexFloatServer on Linux
sudo ./lexfloatserver -u --service-name myfloatingserverInstalling LexFloatServer on macOS
LexFloatServer runs as a launchd daemon on macOS.
sudo ./lexfloatserver -i --service-name myfloatingserverStopping and starting LexFloatServer on macOS
sudo launchctl stop myfloatingserver
sudo launchctl start myfloatingserverUninstalling LexFloatServer on macOS
sudo ./lexfloatserver -u --service-name myfloatingserverMoving LexFloatServer to another machine
Uninstalling the system service does not deactivate your licenses. To use the licenses on another machine, deactivate them first, then uninstall the system service:
lexfloatserver -d
lexfloatserver -u --service-name myfloatingserverA product that still has seats borrowed off the network (offline leases) cannot be deactivated until those leases expire. See Deactivating LexFloatServer.