Systemd Config File

The Linux toolkits contains a sample:

shellscript called demo.sh
systemd configuration file called demo.service.

Configure demo.sh

Configure demo.sh (located in <platform_dir>) as required for your system.

To configure the file descriptor ulimit for the license server daemon on platforms from the systemd startup script:

1. Modify the following line in the script to identify the toolkit path:

Toolkit_PATH=</opt/FNPlm/lmgrd_lic_log_Path>

where the Toolkit_Path value is the directory location where the license file and lmgrd is installed. The debug.log will be created at the same location as the license file.

2. Save the changes in the script.

Configure demo.service

Configure demo.service (located in <platform_dir>) as required for your system.

To configure the demo system service to run with non-elevated user privileges on platforms using the systemd startup script:

1. Copy the sample script file demo.service to the /etc/systemd/system directory.

Important:Once the script is copied, make sure it has execution privilege.

2. Modify the following line in the script to identify the absolute demo.sh script path:

ExecStart=/opt/FNPlm/lmgrd_path/demo.sh

3. Save the changes in the script.
4. To update the run-level information for the service, execute the following command:

systemctl daemon-reload

5. To start the demo systemd service on boot, execute the following command:

systemctl enable demo.service

6. To start the demo system service under the user you specified for <user_name>, execute the following command:

systemctl start demo.service