summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-11-08 15:56:37 +0100
committerJoerg Jaspert <joerg@debian.org>2008-11-08 15:56:37 +0100
commit49424cd5cd747f92f52966fcdf026d7c644b30a4 (patch)
treee0f5c3c26cf8d6f5a1f39616042a6e783c08b246 /README
parenta5a4b5632049a32981906d6fa4e56dede0cd8d1d (diff)
Write about trace files
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 24 insertions, 0 deletions
diff --git a/README b/README
index 23abb4e..902349d 100644
--- a/README
+++ b/README
@@ -180,6 +180,30 @@ it is complete, use an upstream trigger of
ssh $USER@$HOST sync:all sync:archive:bpo sync:callback
+Mirror trace files
+==================
+Every mirror needs to have a 'trace' file under project/trace.
+The file format is as follows:
+
+ The filename has to be the full hostname (eg. hostname -f), or in the
+ case of a mirror participating in RR DNS (where users will never use
+ the hostname) the name of the DNS RR entry, eg. security.debian.org
+ for the security rotation)
+
+ The content has (no leading spaces):
+ Sat Nov 8 13:20:22 UTC 2008
+ Used ftpsync version: 42
+ Running on host: steffani.debian.org
+
+ First line: Output of date -u
+ Second line: Freeform text containing the program name and version
+ Third line: Text "Running on host: " followed by hostname -f
+
+ The third line MUST NOT be the DNS RR name, even if the mirror is part
+ of it. It MUST BE the hosts own name. This is in contrast to the filename,
+ which SHOULD be the DNS RR name.
+
+
runmirrors
==========
This script is used to tell leaf mirrors that it is time to synchronize