Starting and Stopping as a Service Using a UNIX Service Script
To start FlexNet Agent 5.15 as a service using a UNIX service script:
|
1.
|
Create and copy the service script file (for example, FNMEAAgent.service) to the following boot script directory: /etc/systemd/system. The script needs to specify where the FlexNet Agent is installed and the appropriate command that needs to be executed. |
Note:If you are using a 32-bit computer, update the path accordingly.
Give execute permissions to the service.
Ensure that the service script contains a user who can manage the FlexNet Manager for Engineering Applications. This user is identified in the response file using the property UNIX_USER.
|
2.
|
Use one of the following commands in the service script: |
|
•
|
./flexnet-service start |
|
•
|
./flexnet-service restart |
|
3.
|
Enable the service script by running the following systemctl command in RHEL (Red Hat Enterprise Linux) version 7.5 or later: systemctl enable Your_service_script.service. For example: systemctl enable FNMEAAgent.service. When enabled, the service script is executed by root at startup time. |
|
4.
|
Reboot the computer. Depending on what command is specified in the service script, the FlexNet Agent will either start, stop or restart after rebooting. |