How do I start the SilverCreek license server automatically when my computer starts?

On Windows systems:

You can install IWL FortLM License Server as a Windows Service.

Method 1:

Select “All Programs”

- IWL FortLM License Server

- Install License Server as a Service

Method 2:

Open a DOS prompt, go into the directory where the license server package is installed, and run

install-service.bat

Once you have installed the License Server as a Windows service, it will be started automatically when you reboot your computer.

To start and stop the service manually, you can use Windows service controller GUI:
Control Panel | Administrative Tools | Services: IWL FortLM License Server

On Linux systems:

Method 1:

To run license server automatically when computer starts, one possible approach is to add the following line in your /etc/rc.local

cd /path-to-license-server && start.sh &

To stop the license server just kill the running flmserver process.

Method 2:

Run it as a systemd service

Step 1 – Create a shell script “start_sc_license_server.sh”

$ sudo vi /usr/local/bin/start_sc_license_server.sh

#!/bin/sh
/path-to/flmserver -b /path-to/fortlm_license.lic /path-to/iwl_pubkey.pem

(Note, change “path-to” to the full path to your SilverCreek license server installation directory)

Step 2 – Create a systemd file

$ cd /etc/systemd/system
$ sudo vi iwl-silvercreek-flms.service

[Unit]

Description=IWL SilverCreek License Server
After=network.target

[Service]
ExecStart=/usr/local/bin/start_sc_license_server.sh
Type=simple
#Restart=always
#RestartSec=10

[Install]
WantedBy=multi-user.target

Then you can enable and start the service by typing:

$ sudo systemctl enable iwl-silvercreek-flms

$ sudo systemctl start iwl-silvercreek-flms