Skip to content

Instantly share code, notes, and snippets.

@mxey
Created October 30, 2017 14:48
Show Gist options
  • Save mxey/c96e2cca94d9ef1b7734f6c8f7b9b0ea to your computer and use it in GitHub Desktop.
Save mxey/c96e2cca94d9ef1b7734f6c8f7b9b0ea to your computer and use it in GitHub Desktop.
(
set -e -x
aptly mirror update -max-tries=5 "upstream-stretch"
aptly repo import "upstream-stretch" "stretch" Name
aptly publish update "stretch" "stretch"
) 2>&1 | ts >> "/var/log/aptly/stretch.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment