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

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

  1. Edit the file /usr/lib/systemd/system/MFAutoPass.service.
  2. Change the line:
    Restart=no

    to:

    Restart=always
    RestartSec=5s
    

    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 MFAutoPass
    [ asroot ] systemctl stop MFAutoPass
    [ asroot ] systemctl start MFAutoPass
    
  4. If you need to start or stop the service at any point in the future, use the above stop or start commands.

With this change in place, the stop and start functions in /opt/microfocus/licensing/autopass/autoPassdaemon.sh no longer have control of the AutoPass license daemons.