Add instructions for unattended-upgrades

This commit is contained in:
Pierre Vandermeersch
2026-09-11 11:34:49 +02:00
parent 654880aeff
commit 0bfa8bdc21
+20
View File
@@ -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";
```