Skip to content

Instantly share code, notes, and snippets.

@JesterEE
Last active June 4, 2018 18:20
Show Gist options
  • Save JesterEE/7d9c3d59aa663deeb92f to your computer and use it in GitHub Desktop.
Save JesterEE/7d9c3d59aa663deeb92f to your computer and use it in GitHub Desktop.
RHEL7 agileesofd License Server systemd service
[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
@woopla
Copy link

woopla commented Feb 12, 2015

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.

@JesterEE
Copy link
Author

@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