diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-11-27 20:50:18 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-11-27 20:50:18 +0100 |
commit | da50ee845fb50e9916e6f031783461fb62f68c47 (patch) | |
tree | 2b0262129a74e7ead5b5d44f223283cd446264e8 /etc | |
parent | b160b0f6d05f420828cf5dbd7ee32874626b134b (diff) |
pushpdo
add a mirror script for packages.d.o
Diffstat (limited to 'etc')
-rw-r--r-- | etc/pushpdo.conf.sample | 40 | ||||
-rw-r--r-- | etc/pushpdo.mirror.sample | 21 |
2 files changed, 61 insertions, 0 deletions
diff --git a/etc/pushpdo.conf.sample b/etc/pushpdo.conf.sample new file mode 100644 index 0000000..e9be9e3 --- /dev/null +++ b/etc/pushpdo.conf.sample @@ -0,0 +1,40 @@ +######################################################################## +######################################################################## +## This is a sample configuration file for the runmirror script. ## +## Most of the values are commented out and just shown here for ## +## completeness, together with their default value. ## +######################################################################## +######################################################################## + +## Which ssh key to use? +#KEYFILE=.ssh/pushmirror + +## The directory for our logfiles +#LOGDIR="${BASEDIR}/log" + +## Our own logfile +#LOG="${LOGDIR}/${NAME}.log" + +## Our lockfile directory +#LOCKDIR="${BASEDIR}/locks" + +## We do create a logfile for every run. To save space we rotate it, this +## defines how many we keep +#LOGROTATE=14 + +## Our mirrorfile +#MIRRORS="${BASEDIR}/etc/${NAME}.mirror" + +## extra ssh options we might want. *hostwide* +#SSH_OPTS="" + +## The script can send logs (or error messages) to a mail address. +## If this is unset it will default to the local root user unless it is run +## on a .debian.org machine where it will default to the mirroradm people. +#MAILTO="root" + +## How long to wait for mirrors to do stage1 if we have multi-stage syncing +#PUSHDELAY=240 + +## which path to push +#MIRRORPATH="/org/packages.debian.org/mirror/" diff --git a/etc/pushpdo.mirror.sample b/etc/pushpdo.mirror.sample new file mode 100644 index 0000000..711d496 --- /dev/null +++ b/etc/pushpdo.mirror.sample @@ -0,0 +1,21 @@ +# Definition of mirror hosts we push. +# One mirror per line, with the following fields defined. +# +# ShortName HostName User SSHProtocol SSHKeyFile +# +# ShortName will be used as a shorthand in logfile outputs and for the logfile +# where every ssh output gets redirected to. +# +# If no SSHKeyFile is given, the default from the config file applies. +# If SSHProtocol is empty, it will default to 2, but if you want to +# define a keyfile you HAVE TO set protocol too! +# +# Examples: +# +# piatti piatti.debian.org archvsync +# One special value is allowed: DELAY +# This word has to be on a line itself, followed by a space and a number. +# nothing else, not even whitespace. It will trigger a pause of $number +# seconds between the two mirrors. If no number is given it defaults to +# 60 seconds. +piatti piatti.debian.org archvsync |