Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 16th, 2013  |  syntax: None  |  size: 2.16 KB  |  views: 56  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // Automatically upgrade packages from these (origin:archive) pairs
  2. Unattended-Upgrade::Allowed-Origins {
  3.         "${distro_id}:${distro_codename}-security";
  4.         "${distro_id}:${distro_codename}-updates";
  5. //      "${distro_id}:${distro_codename}-proposed";
  6. //      "${distro_id}:${distro_codename}-backports";
  7. };
  8.  
  9. // List of packages to not update
  10. Unattended-Upgrade::Package-Blacklist {
  11. //      "vim";
  12. //      "libc6";
  13. //      "libc6-dev";
  14. //      "libc6-i686";
  15. };
  16.  
  17. // This option allows you to control if on a unclean dpkg exit
  18. // unattended-upgrades will automatically run
  19. //   dpkg --force-confold --configure -a
  20. // The default is true, to ensure updates keep getting installed
  21. //Unattended-Upgrade::AutoFixInterruptedDpkg "false";
  22.  
  23. // Split the upgrade into the smallest possible chunks so that
  24. // they can be interrupted with SIGUSR1. This makes the upgrade
  25. // a bit slower but it has the benefit that shutdown while a upgrade
  26. // is running is possible (with a small delay)
  27. Unattended-Upgrade::MinimalSteps "true";
  28.  
  29. // Install all unattended-upgrades when the machine is shuting down
  30. // instead of doing it in the background while the machine is running
  31. // This will (obviously) make shutdown slower
  32. //Unattended-Upgrade::InstallOnShutdown "true";
  33.  
  34. // Send email to this address for problems or packages upgrades
  35. // If empty or unset then no email is sent, make sure that you
  36. // have a working mail setup on your system. A package that provides
  37. // 'mailx' must be installed.
  38. Unattended-Upgrade::Mail "myemail@foo.com";
  39.  
  40. // Set this value to "true" to get emails only on errors. Default
  41. // is to always send a mail if Unattended-Upgrade::Mail is set
  42. //Unattended-Upgrade::MailOnlyOnError "false";
  43.  
  44. // Do automatic removal of new unused dependencies after the upgrade
  45. // (equivalent to apt-get autoremove)
  46. Unattended-Upgrade::Remove-Unused-Dependencies "true";
  47.  
  48. // Automatically reboot *WITHOUT CONFIRMATION* if a
  49. // the file /var/run/reboot-required is found after the upgrade
  50. Unattended-Upgrade::Automatic-Reboot "true";
  51.  
  52.  
  53. // Use apt bandwidth limit feature, this example limits the download
  54. // speed to 70kb/sec
  55. //Acquire::http::Dl-Limit "70";