summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/runmirrors.conf9
-rw-r--r--etc/runmirrors.mirror6
2 files changed, 14 insertions, 1 deletions
diff --git a/etc/runmirrors.conf b/etc/runmirrors.conf
index da7404d..dc53cdc 100644
--- a/etc/runmirrors.conf
+++ b/etc/runmirrors.conf
@@ -6,3 +6,12 @@ PATH="/bin:/usr/bin:$HOME"
HOOKSCRIPT=
KEYFILE=${HOME}/.ssh/pushmirror
LOG=${HOME}/log/
+
+# Hook scripts can be run at various places.
+# Leave them blank if you don't want any
+# Hook1: After reading config, before doing the first real action
+# Hook2: Between two hosts to push
+# Hook3: When everything is done
+HOOK1=
+HOOK2=
+HOOK3=
diff --git a/etc/runmirrors.mirror b/etc/runmirrors.mirror
index 7fa7a38..33f30c8 100644
--- a/etc/runmirrors.mirror
+++ b/etc/runmirrors.mirror
@@ -14,4 +14,8 @@
# eu.puccini puccini.debian.org archvsync 2 ~/.ssh/push_puccini
#
# will push puccini.debian.org, user archvsync, using ssh protocol 2 and the specified ssh key.
-
+#
+# One special value is allowed: DELAY
+# This word has to be on a line itself, nothing else, not even
+# whitespace. It will trigger a pause of $DELAY seconds between the two
+# mirrors. Per default DELAY is set to 60.