On Linux platforms using SystemD, the automatic restart of the SafeNet license service and the
Micro Focus CES daemon is not enabled by default. To enable it, you need to do the following:
- Edit the file
/usr/lib/systemd/system/MFSafeNet.service.
- Change the line:
Restart=no
to:
Restart=always
RestartSec=5s
This will restart the service if the associated process stops for any reason.
- Execute the following to enable the updated configuration file:
[ asroot ] systemctl reenable MFSafeNet
[ asroot ] systemctl stop MFSafeNet
[ asroot ] systemctl start MFSafeNet
- If you need to start or stop the service at any point in the future, use the above stop or start commands.
- Edit the file
/usr/lib/systemd/system/MFCESD.service.
- Change the line:
Restart=no
to:
Restart=always
RestartSec=5s
This will restart the service if the associated process stops for any reason.
- Execute the following to enable the updated configuration file:
[ asroot ] systemctl reenable MFCESD
[ asroot ] systemctl stop MFCESD
[ asroot ] systemctl start MFCESD
- 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 service and the
Micro Focus CES daemon.