Files
home-lab/maintenance/unattended_upgrades.md

502 B

unattended-upgrades

What it does

It automatically updates packages. Pretty straight-forward.

How to install

sudo apt update && sudo apt install -y unattended-packages

Configuration

To configure its behaviour:

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";