Projet

Général

Profil

Demande #5463

Configurer unattended-upgrade pour faire les reboot / restart

Ajouté par Loïc Dachary il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Début:
09/07/2021
Echéance:
% réalisé:

0%

Temps estimé:

Description

Automatiquement au lieu de manuellement

Historique

#1

Mis à jour par Loïc Dachary il y a plus de 2 ans

  • Sujet changé de Configurer unattended-upgrade pour faire les reboot à Configurer unattended-upgrade pour faire les reboot / restart
#2

Mis à jour par Loïc Dachary il y a plus de 2 ans

  • Statut changé de Nouveau à Résolu
  • Assigné à mis à 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

Mis à jour par Pierre-Louis Bonicoli il y a plus de 2 ans

  • Statut changé de Résolu à Fermé
#4

Mis à jour par Christian P. Momon il y a plus de 2 ans

  • Version cible changé de Backlog à Sprint 2021 été

Formats disponibles : Atom PDF