Some newer versions of Linux, as there are RHEL 7 and CentOS 7.x, uses the systemctl to start applications at boot.
To enable the Uniface License server DLM to start using systemctl take the next steps.
Create a new service unit file at /etc/systemd/system/dlm.service with content:
[Unit] Description=Uniface DLM services After=network.target [Service] Type=oneshot ExecStart=/opt/Compuware/dlm/Linux/amd64/cpwr -start ExecStop=/opt/Compuware/dlm/Linux/amd64/cpwr -stop SuccessExitStatus=0 1 TimeoutStartSec=0 RemainAfterExit=yes [Install] WantedBy=default.target
Note: change the path to the cpwr process name to your actual path if it deviates from the default.
make process executable
# chmod 755 dlm.service
Reload the systemd process to consider newly created dlm.service
# systemctl daemon-reload
Enable the service
# systemctl enable dlm.service
Test systemctl start
# systemctl start dlm # ps -ef | grep cpwr
Test systemctl stop
# systemctl stop dlm # ps -ef | grep cpwr
Reboot system to test
# reboot # ps - ef | grep cpwr