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 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Thanks for this!
One note: you should copy the unit file to
/etc/systemd/systemrather than/usr/lib/systemd/system. The latter is meant for distribution-provided systemd units.