diff --git a/docs/README.md b/docs/README.md index ae5e766..99f3fb7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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) diff --git a/docs/auto_updates.md b/docs/auto_updates.md new file mode 100644 index 0000000..0b69417 --- /dev/null +++ b/docs/auto_updates.md @@ -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 + +```