Prevent Apache restarting automatically after upgrading packages
Posted
by
HorusKol
on Ask Ubuntu
See other posts from Ask Ubuntu
or by HorusKol
Published on 2012-11-11T23:09:40Z
Indexed on
2012/11/11
23:12 UTC
Read the original article
Hit count: 310
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.
© Ask Ubuntu or respective owner