7,166
edits
Line 87: | Line 87: | ||
// "${distro_id}:${distro_codename}-backports"; | // "${distro_id}:${distro_codename}-backports"; | ||
}; | }; | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="text" enclose="div"> | |||
Unattended-Upgrade::Mail "foo@example.com"; | |||
Unattended-Upgrade::Remove-Unused-Dependencies "true"; | |||
Unattended-Upgrade::Automatic-Reboot "true"; | |||
</syntaxhighlight> | |||
/etc/apt/apt.conf.d/10periodic: | |||
<syntaxhighlight lang="text" enclose="div"> | |||
APT::Periodic::Enable "1"; | |||
APT::Periodic::Update-Package-Lists "1"; | |||
APT::Periodic::Download-Upgradeable-Packages "1"; | |||
APT::Periodic::AutocleanInterval "1"; | |||
APT::Periodic::Unattended-Upgrade "1"; | |||
APT::Periodic::RandomSleep "1800"; | |||
</syntaxhighlight> | </syntaxhighlight> |