Guest User

Untitled

a guest
Dec 15th, 2016
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. // Automatically upgrade packages from these (origin:archive) pairs
  2. Unattended-Upgrade::Allowed-Origins {
  3. "${distro_id}:${distro_codename}";
  4. "${distro_id}:${distro_codename}-security";
  5. // "${distro_id}:${distro_codename}-updates";
  6. // "${distro_id}:${distro_codename}-proposed";
  7. // "${distro_id}:${distro_codename}-backports";
  8. };
  9.  
  10. // List of packages to not update (regexp are supported)
  11. Unattended-Upgrade::Package-Blacklist {
  12. // "vim";
  13. // "libc6";
  14. // "libc6-dev";
  15. // "libc6-i686";
  16. };
  17.  
  18. // This option allows you to control if on a unclean dpkg exit
  19. // unattended-upgrades will automatically run
  20. // dpkg --force-confold --configure -a
  21. // The default is true, to ensure updates keep getting installed
  22. //Unattended-Upgrade::AutoFixInterruptedDpkg "false";
  23.  
  24. // Split the upgrade into the smallest possible chunks so that
  25. // they can be interrupted with SIGUSR1. This makes the upgrade
  26. // a bit slower but it has the benefit that shutdown while a upgrade
  27. // is running is possible (with a small delay)
  28. //Unattended-Upgrade::MinimalSteps "true";
  29.  
  30. // Install all unattended-upgrades when the machine is shuting down
  31. // instead of doing it in the background while the machine is running
  32. // This will (obviously) make shutdown slower
  33. //Unattended-Upgrade::InstallOnShutdown "true";
  34.  
  35. // Send email to this address for problems or packages upgrades
  36. // If empty or unset then no email is sent, make sure that you
  37. // have a working mail setup on your system. A package that provides
  38. // 'mailx' must be installed. E.g. "user@example.com"
  39. //Unattended-Upgrade::Mail "root";
  40.  
  41. // Set this value to "true" to get emails only on errors. Default
  42. // is to always send a mail if Unattended-Upgrade::Mail is set
  43. //Unattended-Upgrade::MailOnlyOnError "true";
  44.  
  45. // Do automatic removal of new unused dependencies after the upgrade
  46. // (equivalent to apt-get autoremove)
  47. //Unattended-Upgrade::Remove-Unused-Dependencies "false";
  48.  
  49. // Automatically reboot *WITHOUT CONFIRMATION*
  50. // if the file /var/run/reboot-required is found after the upgrade
  51. //Unattended-Upgrade::Automatic-Reboot "false";
  52.  
  53. // If automatic reboot is enabled and needed, reboot at the specific
  54. // time instead of immediately
  55. // Default: "now"
  56. //Unattended-Upgrade::Automatic-Reboot-Time "02:00";
  57.  
  58. // Use apt bandwidth limit feature, this example limits the download
  59. // speed to 70kb/sec
  60. //Acquire::http::Dl-Limit "70";
Add Comment
Please, Sign In to add comment