From 9b76915f679ebfa5988a5c47f102bc7faf3363ce Mon Sep 17 00:00:00 2001 From: Simon Paillard Date: Wed, 23 Nov 2011 23:47:40 +0100 Subject: ftpsync: better default conf TO and RSYNC_PATH for regular mirroradm setup --- bin/ftpsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ftpsync') diff --git a/bin/ftpsync b/bin/ftpsync index 0cde4b1..d988d0e 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -243,7 +243,7 @@ LOGDIR=${LOGDIR:-"${BASEDIR}/log"} LOG=${LOG:-"${LOGDIR}/${NAME}.log"} # Where should we put all the mirrored files? -TO=${TO:-"/org/ftp.debian.org/ftp/"} +TO=${TO:-"/srv/mirrors/debian/"} # used by log() and error() PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"} @@ -287,7 +287,7 @@ RSYNC_OPTIONS1=${RSYNC_OPTIONS1:-"--exclude Packages* --exclude Sources* --exclu # Options for the second pass, where we do want everything, including deletion of old and now unused files RSYNC_OPTIONS2=${RSYNC_OPTIONS2:-"--max-delete=40000 --delay-updates --delete --delete-after --delete-excluded"} # Which rsync share to use on our upstream mirror? -RSYNC_PATH=${RSYNC_PATH:-"ftp"} +RSYNC_PATH=${RSYNC_PATH:-"debian"} # Now add the bwlimit option. As default is 0 we always add it, rsync interprets # 0 as unlimited, so this is safe. -- cgit v1.2.3