From 8fc7f5a7b3e11fff8d2b15538515653da49e7559 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 4 Oct 2008 18:13:20 +0200 Subject: configs renamed the configuration samples to clearly show what they are for. Signed-off-by: Joerg Jaspert --- etc/ftpsync.conf | 29 ----------------------------- etc/ftpsync.conf.sample | 29 +++++++++++++++++++++++++++++ etc/runmirrors.conf | 14 -------------- etc/runmirrors.conf.sample | 14 ++++++++++++++ etc/runmirrors.mirror | 21 --------------------- etc/runmirrors.mirror.sample | 21 +++++++++++++++++++++ 6 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 etc/ftpsync.conf create mode 100644 etc/ftpsync.conf.sample delete mode 100644 etc/runmirrors.conf create mode 100644 etc/runmirrors.conf.sample delete mode 100644 etc/runmirrors.mirror create mode 100644 etc/runmirrors.mirror.sample (limited to 'etc') diff --git a/etc/ftpsync.conf b/etc/ftpsync.conf deleted file mode 100644 index 21e9aa4..0000000 --- a/etc/ftpsync.conf +++ /dev/null @@ -1,29 +0,0 @@ -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 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 diff --git a/etc/runmirrors.conf b/etc/runmirrors.conf deleted file mode 100644 index 6bb1f89..0000000 --- a/etc/runmirrors.conf +++ /dev/null @@ -1,14 +0,0 @@ -HOME=~archvsync -LOGNAME="archvsync" -USER="archvsync" -MAIL= -PATH="/bin:/usr/bin:$HOME" -KEYFILE=.ssh/pushmirror -# 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.conf.sample b/etc/runmirrors.conf.sample new file mode 100644 index 0000000..6bb1f89 --- /dev/null +++ b/etc/runmirrors.conf.sample @@ -0,0 +1,14 @@ +HOME=~archvsync +LOGNAME="archvsync" +USER="archvsync" +MAIL= +PATH="/bin:/usr/bin:$HOME" +KEYFILE=.ssh/pushmirror +# 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 deleted file mode 100644 index 33f30c8..0000000 --- a/etc/runmirrors.mirror +++ /dev/null @@ -1,21 +0,0 @@ -# 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! -# -# Example: -# 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. diff --git a/etc/runmirrors.mirror.sample b/etc/runmirrors.mirror.sample new file mode 100644 index 0000000..33f30c8 --- /dev/null +++ b/etc/runmirrors.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! +# +# Example: +# 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. -- cgit v1.2.3