Skip to content

Instantly share code, notes, and snippets.

@mxey
Created April 23, 2014 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mxey/11226817 to your computer and use it in GitHub Desktop.
Save mxey/11226817 to your computer and use it in GitHub Desktop.
# Enable the update/upgrade script (0=disable)
APT::Periodic::Enable "1";
# Do "apt-get update" automatically every n-days (0=disable)
APT::Periodic::Update-Package-Lists "1";
# Do "apt-get upgrade --download-only" every n-days (0=disable)
APT::Periodic::Download-Upgradeable-Packages "1";
# Do "apt-get autoclean" every n-days (0=disable)
APT::Periodic::AutocleanInterval "7";
# Run the "unattended-upgrade" security upgrade script
# every n-days (0=disabled)
APT::Periodic::Unattended-Upgrade "1";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment