[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question on Unattended Upgrades



Right, so according to I0f4ro@tutra.io's advice, I changed the line "  'Unattended-Upgrade::Automatic-Reboot "false" to    'Unattended-Upgrade::Automatic-Reboot "true" in   /etc/apt/apt.conf.d/50unattended-upgrades. Upon checking   /etc/apt/apt.conf.d/20auto-upgrades I see the lines:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

What I am doing is running a small web server via a Debian Linux VPS, which I am trying to use Unattended Upgrades to keep the software for this web server and he OS Kernel up to date automatically. Based on what I see it looks like it is working. Will this restart the OS and all processes I have to restart via Chron automatically?  Thx.



 
--Keifer


Virus-free. www.avast.com

On Tue, May 12, 2020 at 2:07 AM <l0f4r0@tuta.io> wrote:
Hi,

12 mai 2020 à 08:22 de keifer.bly@gmail.com:

> Is there a way to configure it to automatically restart when a package that needs to be restarted is upgraded?
>
I think 'Unattended-Upgrade::Automatic-Reboot "true";' should do it in /etc/apt/apt.conf.d/50unattended-upgrades.
If I were you, I would check /etc/apt/apt.conf.d/20auto-upgrades as well because those are the 2 most important configuration files for unattended-upgrades.

Best regards,
l0f4r0


Reply to: