From 0bfa8bdc2175d2e5c5183a253f78b63c77f9fde1 Mon Sep 17 00:00:00 2001 From: Pierre Vandermeersch Date: Fri, 11 Sep 2026 11:34:49 +0200 Subject: [PATCH] Add instructions for unattended-upgrades --- maintenance/unattended_upgrades.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 maintenance/unattended_upgrades.md diff --git a/maintenance/unattended_upgrades.md b/maintenance/unattended_upgrades.md new file mode 100644 index 0000000..dd870aa --- /dev/null +++ b/maintenance/unattended_upgrades.md @@ -0,0 +1,20 @@ +# unattended-upgrades +## What it does +It automatically updates packages. Pretty straight-forward. + +## How to install +```bash +sudo apt update && sudo apt install -y unattended-packages +``` + +## Configuration +To configure its behaviour: +```bash +sudo nano /etc/apt/apt.conf.d/50unattended-upgrades +``` + +For automatic reboots to install updates, make sure the following lines are uncommented and set as: +``` +Unattended-Upgrade::Automatic-Reboot "true"; +Unattended-Upgrade::Automatic-Reboot-Time "04:00"; +``` \ No newline at end of file