Edit Settings in “flexnetls.conf”
You can use either of the following methods to update configuration settings in the /etc/systemd/system/flexnetls-producer_name.service.d/flexnetls.conf unit file:
• | Edit the .conf File Manually |
• | Re-install the Service with Command-line Options to Update Settings |
Use the following procedure to manually edit the contents of the flexnetls.conf unit file.
To edit the flexnetls.conf file manually
1. | Stop the license server service: |
sudo systemctl stop flexnetls-producer_name
2. | As a root or sudo user, edit the /etc/systemd/system/flexnetls-producer_name.service.d/flexnetls.conf file in a text editor (for example, gedit or GNU nano). |
3. | Once the edits are complete, run the following command to re-read all the systemd unit files to capture the configuration changes: |
sudo systemctl daemon-reload
4. | Start the license server service: |
sudo systemctl start flexnetls-producer_name
Re-install the Service with Command-line Options to Update Settings
The following command reinstalls the license server service, using command-line options to update specific settings in the flexnetls.conf file. For a description of the configuration settings that can be updated from the install-script command line, see Configuration Values Editable from the Command Line.
sudo ./install-systemd.sh--user flexnentls1 --group flexnetls1
If you include the --overwrite option in this command, the re-installation generates a new .conf file and a new .yaml file with the specified updates; any changes you previously made to these files are lost.