Created
June 29, 2021 08:52
-
-
Save raek/4e8d847249e34be34ca97bd5aeebd022 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudoedit /etc/apt/apt.conf.d/50unattended-upgrades | |
Aktivera följande rader (ta bort "//") | |
Unattended-Upgrade::AutoFixInterruptedDpkg "true"; | |
Unattended-Upgrade::MinimalSteps "true"; | |
Unattended-Upgrade::InstallOnShutdown "false"; | |
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true"; | |
Unattended-Upgrade::Remove-New-Unused-Dependencies "true"; | |
Unattended-Upgrade::Remove-Unused-Dependencies "false"; | |
Unattended-Upgrade::Automatic-Reboot-WithUsers "true"; | |
Aktivera och ändra följande rader (ta bort "//" och ändra inställningen) | |
Unattended-Upgrade::Remove-Unused-Dependencies "true"; | |
Unattended-Upgrade::Automatic-Reboot "true"; | |
Unattended-Upgrade::Automatic-Reboot-Time "02:00"; | |
Konfigurera mailutskick | |
Unattended-Upgrade::Mail "me@example.com"; | |
Unattended-Upgrade::Sender "server@example.com"; | |
Unattended-Upgrade::MailReport "on-change"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment