Enable Automatic Restart of the SafeNet License Daemons on Linux Using SystemD

On Linux platforms using SystemD, the automatic restart of the SafeNet license daemons is not enabled by default. To enable it, you need to do the following:

  1. Edit the file /usr/lib/systemd/system/MFSafeNet.service.
  2. Change the line:



    This will restart the service if the associated process stops for any reason.

  3. Execute the following to enable the updated configuration file:
    [ asroot ] systemctl reenable MFSafeNet
    [ asroot ] systemctl stop MFSafeNet
    [ asroot ] systemctl start MFSafeNet
  4. If you need to start or stop the service at any point in the future, use the above stop or start commands.
Note: With this change in place, the stop and start script in /var/microfocuslicensing/bin no longer has control of the SafeNet license daemons.