Last active
          June 4, 2018 18:20 
        
      - 
      
- 
        Save JesterEE/7d9c3d59aa663deeb92f to your computer and use it in GitHub Desktop. 
    RHEL7 agileesofd License Server systemd service
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [Unit] | |
| Description=agileesofd License Daemon | |
| After=network.target network.service | |
| [Service] | |
| User=flexlm | |
| WorkingDirectory=/opt/Keysight/flexnet | |
| ExecStart=/opt/Keysight/flexnet/lmgrd -c ./licenses/agileesofd.lic -l ./log/agileesofd.log | |
| Restart=always | |
| RestartSec=30 | |
| Type=forking | |
| [Install] | |
| WantedBy=multi-user.target | 
Thanks for this!
One note: you should copy the unit file to /etc/systemd/system rather than /usr/lib/systemd/system. The latter is meant for distribution-provided systemd units.
@woopla You're very welcome! Thanks for that catch! Updated the instructions with that path.
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
RHEL7 agileesofd License Server systemd service
Requirements
sudo useradd flexlm sudo usermod -d /opt flexlm sudo usermod -c "Privileged FlexLM User" flexlm sudo usermod -u 123 flexlm sudo groupmod -g 123 flexlm sudo usermod -s /sbin/nologin flexlm sudo find $WorkingDirectory -exec chown flexlm {} \; sudo find $WorkingDirectory -exec chgrp flexlm {} \;Installation
sudo cp agileesof.service /etc/systemd/system sudo systemctl daemon-reload sudo systemctl enable agileesofd.serviceNotes
Restart=alwaysandRestartSec=TIMEare importantReferences