From 57087b302bd0a02cf4c594b1aaad5d7882059076 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 1 Apr 2013 13:14:41 -0300 Subject: Set custom unattended-upgrades config atop of wheezy's default settings --- files/wheezy/50unattended-upgrades | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'files') diff --git a/files/wheezy/50unattended-upgrades b/files/wheezy/50unattended-upgrades index 2aafa39..300f1fe 100644 --- a/files/wheezy/50unattended-upgrades +++ b/files/wheezy/50unattended-upgrades @@ -4,9 +4,9 @@ Unattended-Upgrade::Origins-Pattern { // Note that this will silently match a different release after // migration to the specified archive (e.g. testing becomes the // new stable). -// "o=Debian,a=stable"; -// "o=Debian,a=stable-updates"; -// "o=Debian,a=proposed-updates"; + "o=Debian,a=stable"; + "o=Debian,a=stable-updates"; + "o=Debian,a=proposed-updates"; "origin=Debian,archive=stable,label=Debian-Security"; }; @@ -39,7 +39,7 @@ Unattended-Upgrade::Package-Blacklist { // If empty or unset then no email is sent, make sure that you // have a working mail setup on your system. A package that provides // 'mailx' must be installed. E.g. "user@example.com" -//Unattended-Upgrade::Mail "root"; +Unattended-Upgrade::Mail "root"; // Set this value to "true" to get emails only on errors. Default // is to always send a mail if Unattended-Upgrade::Mail is set @@ -57,3 +57,7 @@ Unattended-Upgrade::Package-Blacklist { // Use apt bandwidth limit feature, this example limits the download // speed to 70kb/sec //Acquire::http::Dl-Limit "70"; + +APT::Periodic::Update-Package-Lists "1"; +APT::Periodic::Download-Upgradeable-Packages "1"; +APT::Periodic::Unattended-Upgrade "1"; -- cgit v1.2.3