| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
right check for callback
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>
|
|
|
|
|
| |
add the archive name
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
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>
|
|
|
|
|
| |
now, check if we know the configfile.
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>
|
|
|
|
|
| |
bad fingers, [ != {
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
define some more variables
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
[] do like their spaces
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
set -u likes to have variables declared before we use em
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>
|
|
|
|
| |
<steve@lobefin.net>
|
|
|
|
|
|
| |
code cleanups
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
some ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
first code for a 2stage sync trigger.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
future proof bz2
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
set syncall to false if we only need stage1 or stage2
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>
|
|
|
|
|
|
| |
Allow to set SOURCE_EXCLUDE in config. If it is set we wont touch it
anymore, even if $ARCH_EXCLUDE still contains "source".
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
bash really likes the syntax to be correct
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
the second stage should use >> for the logs.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
also delete excluded files.
and as we have rsync logs different now, do tell the rsync command in normal log
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>
|
|
|
|
|
|
| |
better cleanup handling, like mailing logs in any case (if MAILTO is set).
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>
|
|
|
|
|
|
| |
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>
|