If I run
sudo apt-get upgrade then I get shown a list of packages and if any of these are services, they may need to be restarted (which is done automatically when installing the updates). How can I tell if one of these packages will require a restart of a service, for example if I update a package which is not named
mysql* then I'd like to know before I install the updates that this might trigger a restart of the mysql service (if the package is named
mysql* I'll assume a restart to service is required). Or does this never happen? If a restart of the mysql service is required, I'll remove that node from the load balancer pools and let all connections to it finish before installing the updates.
Just to clarify, I'm referring to restarting of services, not rebooting the whole machine.
Thanks for your help.