Advertisement
Guest User

Untitled

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