| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
better cleanup handling, like mailing logs in any case (if MAILTO is set).
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
use BASEDIR instead of $HOME, default for $HOME if unset.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
use BASEDIR, defaulting to $HOME, so people could, if wanted, place the scripts outside of $HOME.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
use "" around SSH_OPTS
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>
|
|
|
|
|
|
| |
also allow anonymous syncs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
its helpful if we mkdir before we try to touch something in $TO
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
dont use full path for links
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
use the correct path for dircombine
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
one + too much
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
add the typicalsync script, in use on ftp-master (ries).
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
mirrorlogs alias instead of my own address
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
and use the variable.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
make sure the tracefile *always* gets the full hostname, even if
$HOSTNAME is set to the short one.
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 proper "" where we need them.
- dont check if variables are defined that get defaults from us anyway.
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>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
describe our varibales
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>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
ouch, use the correct syntax.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
fix variables names
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
little helper to update archvsync homedirs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
Add dircombine from joeyh
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
fix logdir variable setting
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
add a script to push leaf mirrors
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
source our common functions
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
dont hardcode the hostname in $PROGRAM
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>
|