summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2012-05-18 21:52:20 +0200
committerJoerg Jaspert <joerg@debian.org>2012-05-18 21:52:20 +0200
commit8c7427db78c52e5a992d16d7b12e0202419e5b15 (patch)
treecc8dafefaba3c358e8ecb3e94caaf4451e6d7b08 /etc
parent2511ccec9bfab0c984f631d736963ab77c714c14 (diff)
* bin/ftpsync: Add a RSYNC_EXTRA option,
for the local admins to set extra rsync options, to be prepended to the rsync call Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/ftpsync.conf.sample16
1 files changed, 13 insertions, 3 deletions
diff --git a/etc/ftpsync.conf.sample b/etc/ftpsync.conf.sample
index a311b77..6b16cc8 100644
--- a/etc/ftpsync.conf.sample
+++ b/etc/ftpsync.conf.sample
@@ -111,14 +111,24 @@
## The rsync program
#RSYNC=rsync
+## Extra rsync options as defined by the local admin.
+## There is no default by ftpsync.
+##
+## Please note that these options are added to EVERY rsync call.
+## Also note that these are added at the beginning of the rsync call, as
+## the very first set of options.
+## Please ensure you do not add a conflict with the usual rsync options as
+## shown below.
+# RSYNC_EXTRA=""
+
+## limit I/O bandwidth. Value is KBytes per second, unset or 0 means unlimited
+#RSYNC_BW=""
+
## BE VERY CAREFUL WHEN YOU CHANGE THE RSYNC_OPTIONS! BETTER DON'T!
## BE VERY CAREFUL WHEN YOU CHANGE THE RSYNC_OPTIONS! BETTER DON'T!
## BE VERY CAREFUL WHEN YOU CHANGE THE RSYNC_OPTIONS! BETTER DON'T!
## BE VERY CAREFUL WHEN YOU CHANGE THE RSYNC_OPTIONS! BETTER DON'T!
-## limit I/O bandwidth. Value is KBytes per second, unset or 0 means unlimited
-#RSYNC_BW=""
-
## Default rsync options every rsync invocation sees.
#RSYNC_OPTIONS="-prltvHSB8192 --timeout 3600 --stats --exclude Archive-Update-in-Progress-${MIRRORNAME} --exclude ${TRACE} --exclude Archive-Update-Required-${MIRRORNAME}"