Add automatic update notes

This commit is contained in:
KemoNine 2020-08-03 16:13:24 +00:00
parent b3140d5ced
commit 1971fa76f5
2 changed files with 17 additions and 0 deletions

View file

@ -15,6 +15,7 @@ Items marked ```REQUIRED``` are assumed to be setup and working. You've been war
* [Finalize Setup (REQUIRED)](finalize_setup.md)
* [Setup swap (REQUIRED)](swap.md)
* [Additional Networking Setup (REQUIRED)](networking.md)
* [Automatic Updates (VERY SMART)](auto_updates.md)
* [Slideshow Prep (REQUIRED)](slideshow_prep.md)
* [Slideshow Setup (REQUIRED)](slideshow.md)
* [Email Notifications (REQUIRED)](email_notifications.md)

16
docs/auto_updates.md Normal file
View file

@ -0,0 +1,16 @@
# Automatic Updates
The below will setup nightly automatic update and reboots for the PiFrame. This is a really smart choice as it will ensure security updates are applied in a timely fashion.
``` sh
apt install unattended-upgrades
nano -w /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Mail "user@domain.tld";
Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::Automatic-Reboot-WithUsers "true";
Unattended-Upgrade::Automatic-Reboot-Time "02:00";
nano -w /etc/apt/apt.conf.d/20auto-upgrades
unattended-upgrades --dry-run --debug
```