Is it possible to prevent unattended-upgrades from restarting specific services?
A critical systemd service in production sometimes is restarted when a dependency is upgraded by unattended-upgrades which causes data-loss, what is the correct way to disable service restarts?
Rather than haywire Unattended Upgrades, stop using that service in production systems. Use your maintenance windows for their intended purpose.
Edit /etc/apt/apt.conf.d/20auto-upgrades
Change the following line to "0"