| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
lockfile in shell, for procmail haters
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
document the config
add default for keyfile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
Thanks to ISHIKAWA Mutsumi and Damin Viano
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
make it possible to send full rsync logs too. default is off
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
use MIRRORNAME, not (bash set) HOSTNAME
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
modify the config sample to document *EVERY* possible option a user
might want to modify
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
its SSH_OPTS not SSHOPTS
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
make waiting delay in staged sync configurable
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
pushlock sync should now work
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
correctly set PUSHLOCKS
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
${ works better than {$
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
bad fingers, [ != {
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
define some more variables
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
return
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
fix little errors
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
small fixes and "" at some places
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
code cleanups
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
first code for a 2stage sync trigger.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
Add remote command options and callback.
Also move functions to one single place.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
renamed the configuration samples to clearly show what they are for.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
and another option to only mail errors instead of always full logs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
keyfile is relative to $BASEDIR, no need to give a full path
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
by default we are no hub.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
allow host wide extra ssh options to be set
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
remove LOG from config, default is fine for us
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
| |
- Use $LOGDIR where we want the dir and not the file
- use $LOG where we want the file.
- use proper "" around variables where they have to be
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
implement hooks run at various places.
Allow a delay between two mirrors.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
|
| |
Implement 5 hooks so we can call scripts at various places of the
mirror sync.
Also make runmirrors optional, depending on if we are a hub or not.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
add a script to push leaf mirrors
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
Add a (rewritten) ftpsync script together with an config file example.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
Add a file for common functions. Currently only holds
a (very adapted) version of signal()
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
And a place to store our config in.
The additional secrets/ should be used for files to store passwords in.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|