summaryrefslogtreecommitdiff
path: root/etc/ftpsync.conf.sample
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-10-04 18:13:20 +0200
committerJoerg Jaspert <joerg@debian.org>2008-10-04 18:13:20 +0200
commit8fc7f5a7b3e11fff8d2b15538515653da49e7559 (patch)
tree8fab89f37bad295245a712aff591fac16e42a4a0 /etc/ftpsync.conf.sample
parent1b12f517bca0297adbd51c9498f15ba50483547f (diff)
configs
renamed the configuration samples to clearly show what they are for. Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc/ftpsync.conf.sample')
-rw-r--r--etc/ftpsync.conf.sample29
1 files changed, 29 insertions, 0 deletions
diff --git a/etc/ftpsync.conf.sample b/etc/ftpsync.conf.sample
new file mode 100644
index 0000000..21e9aa4
--- /dev/null
+++ b/etc/ftpsync.conf.sample
@@ -0,0 +1,29 @@
+TO=/org/ftp.debian.org/ftp/
+RSYNC_HOST=some.mirror.debian.org
+RSYNC_USER=USER
+RSYNC_PASSWORD=PASSWORD
+RSYNC_PATH="debian-all"
+PROGRAM=ftpsync
+MAILTO="somewhere@example.com"
+ERRORSONLY="false"
+# Hook scripts can be run at various places during the sync.
+# Leave them blank if you don't want any
+# Hook1: After lock is acquired, before first rsync
+# Hook2: After first rsync, if successful
+# Hook3: After second rsync, if successful
+# Hook4: Right before leaf mirror triggering
+# Hook5: After leaf mirror trigger, only if we have slave mirrors (HUB=true)
+#
+# Note that Hook3 and Hook4 are likely to be called directly after each other.
+# Difference is: Hook3 is called *every* time the second rsync was successful,
+# but even if the mirroring needs to re-run thanks to a second push.
+# Hook4 is only effective if we are done with mirroring.
+HOOK1=
+HOOK2=
+HOOK3=
+HOOK4=
+HOOK5=
+# Do we have leaf mirror to signal we are done and they should sync?
+# If so set it to true and make sure you configure runmirrors.mirrors
+# and runmirrors.conf for your need.
+HUB=false