Add automatic update notes
This commit is contained in:
parent
b3140d5ced
commit
1971fa76f5
|
@ -15,6 +15,7 @@ Items marked ```REQUIRED``` are assumed to be setup and working. You've been war
|
||||||
* [Finalize Setup (REQUIRED)](finalize_setup.md)
|
* [Finalize Setup (REQUIRED)](finalize_setup.md)
|
||||||
* [Setup swap (REQUIRED)](swap.md)
|
* [Setup swap (REQUIRED)](swap.md)
|
||||||
* [Additional Networking Setup (REQUIRED)](networking.md)
|
* [Additional Networking Setup (REQUIRED)](networking.md)
|
||||||
|
* [Automatic Updates (VERY SMART)](auto_updates.md)
|
||||||
* [Slideshow Prep (REQUIRED)](slideshow_prep.md)
|
* [Slideshow Prep (REQUIRED)](slideshow_prep.md)
|
||||||
* [Slideshow Setup (REQUIRED)](slideshow.md)
|
* [Slideshow Setup (REQUIRED)](slideshow.md)
|
||||||
* [Email Notifications (REQUIRED)](email_notifications.md)
|
* [Email Notifications (REQUIRED)](email_notifications.md)
|
||||||
|
|
16
docs/auto_updates.md
Normal file
16
docs/auto_updates.md
Normal 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
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in a new issue