Prevent Apache restarting automatically after upgrading packages
- by HorusKol
Following on from an earlier question: Is there a way to download security updates and notify admin without installing the update?
A large number of packages interact with Apache (especially PHP) such that security updates to those packages can cause the server to attempt to restart the service. While my earlier question was answered, I'm now thinking that I need a different solution.
So - is there are way to allow security updates to be applied using apt, have an email sent to an administrator, and, most importantly, prevent services from being restarted at the end of the installation/update process? The administrator will then be able to log in and restart the service manually.