summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-12-28 16:54:53 +0100
committerJoerg Jaspert <joerg@debian.org>2009-12-28 16:54:53 +0100
commit9aaa0aadba78e8ca6fb3fa47839a066b938ac327 (patch)
tree27643de8f553bc4936d82cc0eb79b6f8b60b87fe /etc
parent69fd1eda70605488c21f5773a0ba62772e14650d (diff)
Sample config
make clear we need the username in the mirrors file, fix the broken example. Also mention backwards compatibility Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/runmirrors.mirror.sample12
1 files changed, 9 insertions, 3 deletions
diff --git a/etc/runmirrors.mirror.sample b/etc/runmirrors.mirror.sample
index 2f841bb..e2820e3 100644
--- a/etc/runmirrors.mirror.sample
+++ b/etc/runmirrors.mirror.sample
@@ -7,6 +7,7 @@
#
# Type ShortName HostName User -$SOMESSHOPTION
#
+# The fields Type, ShortName, HostName and User are *mandantory*.
#
# Type is either all or staged, meaning:
# all - do a "normal" push. Trigger them, go on.
@@ -33,6 +34,11 @@
# want. There is currently no way around this, as that would mean
# dropping backward compatibility.
#
+# Backwards compatibility:
+# An older runmirrors script will NOT run with a newer runmirrors.mirror file, but
+# a new runmirrors can run with an old runmirrors.mirror file. This should make updates
+# painless.
+#
# Examples:
# all eu.puccini puccini.debian.org archvsync 2
#
@@ -43,11 +49,11 @@
#
# which will do the same as above, but use port 2222 to connect to.
#
-# staged eu.puccini puccini.debian.org
-# staged eu.powell powell.debian.org
+# staged eu.puccini puccini.debian.org archvsync
+# staged eu.powell powell.debian.org archvsync
#
# will push both puccini and powell in stage1, waiting for both to
-# finish stage1 before stage2 gets pushed.
+# finish stage1 before stage2 gets pushed. The username will be archvsync.
#
# One special value is allowed: DELAY
# This word has to be on a line itself, followed by a space and a number.