summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRaphael Geissert <atomo64@gmail.com>2012-05-01 00:14:06 -0500
committerRaphael Geissert <geissert@debian.org>2012-12-18 18:21:58 -0600
commit361ba6bce1a3fabae9da0ab2b97f2cc7360da1d3 (patch)
treec4b5ac720511f6acb307f321b794d35e2fff1674 /etc
parentdbb0bdd950dccccdd0f9a3d43c656c2a03e4a56a (diff)
Limit the number of update retries
In case something went wrong somewhere and upstream's update stalled or there are stale AUIP files, this will prevent ftpsync from retrying without an eventual error message.
Diffstat (limited to 'etc')
-rw-r--r--etc/ftpsync.conf.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/ftpsync.conf.sample b/etc/ftpsync.conf.sample
index 9e8cc65..e3f5cf5 100644
--- a/etc/ftpsync.conf.sample
+++ b/etc/ftpsync.conf.sample
@@ -93,6 +93,11 @@
## is found to be updating while our update is running
#UIPSLEEP=1200
+## Number of times the update operation will be retried when upstream
+## is found to be updating while our update is running.
+## Note that these are retries, so: 1st attempt + retries = total attempts
+#UIPRETRIES=3
+
## The trace file is used by a mirror check tool to see when we last
## had a successful mirror sync. Make sure that it always ends up in
## project/trace and always shows the full hostname.