Project

General

Profile

Demande #5463

Configurer unattended-upgrade pour faire les reboot / restart

Added by Loïc Dachary 5 months ago. Updated 3 months ago.

Status:
Fermé
Priority:
Normale
Assignee:
Start date:
07/09/2021
Due date:
% Done:

0%

Estimated time:

Description

Automatiquement au lieu de manuellement

History

#1

Updated by Loïc Dachary 5 months ago

  • Subject changed from Configurer unattended-upgrade pour faire les reboot to Configurer unattended-upgrade pour faire les reboot / restart
#2

Updated by Loïc Dachary 4 months ago

  • Status changed from Nouveau to Résolu
  • Assignee set to Loïc Dachary
=(^-^)=root@grof:/etc/apt/apt.conf.d# git show
commit c3c63e1a6c1ec1d132c53530b09a97a1774e71cf (HEAD -> master)
Author: Loïc Dachary <loic@dachary.org>
Date:   Mon Jul 26 07:52:53 2021 +0200

    Unattended upgrades can reboot when the kernel is updated

diff --git a/apt/apt.conf.d/50unattended-upgrades b/apt/apt.conf.d/50unattended-upgrades
index 4b37679..193b150 100644
--- a/apt/apt.conf.d/50unattended-upgrades
+++ b/apt/apt.conf.d/50unattended-upgrades
@@ -109,7 +109,7 @@ Unattended-Upgrade::Package-Blacklist {

 // Automatically reboot *WITHOUT CONFIRMATION* if
 //  the file /var/run/reboot-required is found after the upgrade
-//Unattended-Upgrade::Automatic-Reboot "false";
+Unattended-Upgrade::Automatic-Reboot "true";

 // Automatically reboot even if there are users currently logged in
 // when Unattended-Upgrade::Automatic-Reboot is set to true
@@ -118,7 +118,7 @@ Unattended-Upgrade::Package-Blacklist {
 // If automatic reboot is enabled and needed, reboot at the specific
 // time instead of immediately
 //  Default: "now" 
-//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
+Unattended-Upgrade::Automatic-Reboot-Time "02:00";

 // Use apt bandwidth limit feature, this example limits the download
 // speed to 70kb/sec

#3

Updated by Pierre-Louis Bonicoli 3 months ago

  • Status changed from Résolu to Fermé
#4

Updated by Christian P. Momon 3 months ago

  • Target version changed from Backlog to Sprint 2021 été

Also available in: Atom PDF