cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 32 forks source link

Ensure Imunify upgrade is not executing before uninstalling it #522

Closed cPholloway closed 1 month ago

cPholloway commented 1 month ago

Case RE-862: The Imunify products have the ability to auto update themselves which can trigger a lock file being in place that will prevent the Imunify installer(s) from executing. This change makes it so that we check to see if the lock file exists and wait for the PID to complete before attempting to uninstall Imunify in the pre_distro_upgrade stage.

Changelog: Ensure Imunify upgrade is not executing before attempting to uninstall it

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf