summaryrefslogtreecommitdiff
path: root/etc/common
Commit message (Collapse)AuthorAge
* Move reusable code to function rsync_protocolSimon Paillard2013-05-01
|
* Actually send emails on errors and new versionsRaphael Geissert2012-12-17
| | | | Signed-off-by: Raphael Geissert <geissert@debian.org>
* signal() for push: log() fo proper timestamps in logsSimon Paillard2011-12-08
|
* hook(): spaces instead of tabsSimon Paillard2011-12-04
|
* hook(): mail on errorSimon Paillard2011-12-04
|
* Revert "etc/common"Joerg Jaspert2011-02-25
| | | | | | | | | | This reverts commit f27c79aa0d054e6841a229dcf0e32be58c76f72a. Reason: While I envisioned hooks to be scripts running whatever it needs then, it can be perfectly valid to just have a single command here, with arguments. and then one doesnt want "" Signed-off-by: Joerg Jaspert <joerg@debian.org>
* etc/commonJoerg Jaspert2011-02-22
| | | | | | also want a "" Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Always send sync:archive:Joerg Jaspert2010-10-10
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync now closes stdin, not attaches to dev/nullJoerg Jaspert2010-10-10
| | | | | and pushes use ssh -f, not ssh ... & Signed-off-by: Joerg Jaspert <joerg@debian.org>
* indentationJoerg Jaspert2010-01-01
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-30
| | | | | | treat mhop mirror entries same as staged in this elif Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-29
| | | | | | add a few comments Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-28
| | | | | | properly signal the mhop foo Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-28
| | | | | | 2 new options Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-28
| | | | | | also look at mhop hosts in get2stage Signed-off-by: Joerg Jaspert <joerg@debian.org>
* SetupTimeOut is a Debian specific alias for ServerAliveInterval, so use the ↵Simon Paillard2009-11-30
| | | | portable name instead
* runmirrorsJoerg Jaspert2009-07-18
| | | | | | | | | | change the runmirrors.mirror format. We keep compatibility with the old format, so if one uses them they should continue to do so. If one uses the new style, one is able to add all possible ssh options one wants. They just have to start with -. All that in there will be passed as-is to ssh. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* multipleJoerg Jaspert2009-03-23
| | | | | | | | | adjust pushdelay to be longer by default better logging for pushes actually increase the timeout, so it should hit at some point, in staged pushes. log if a staged push failed to find all other locks it waits for. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* We should send the push archive even for non-staged pushing...Joerg Jaspert2008-12-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* fixJoerg Jaspert2008-11-19
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* savelogJoerg Jaspert2008-11-19
| | | | | savelog on our own Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Let hooks also work with arguments.Joerg Jaspert2008-11-09
| | | | | Thanks to ISHIKAWA Mutsumi and Damin Viano Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2008-11-01
| | | | | | its SSH_OPTS not SSHOPTS Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Add a few ""Joerg Jaspert2008-10-30
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Add a few ""Joerg Jaspert2008-10-30
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | make waiting delay in staged sync configurable Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | pushlock sync should now work Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | correctly set PUSHLOCKS Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | ${ works better than {$ Signed-off-by: Joerg Jaspert <joerg@debian.org>
* space. *sigh*Joerg Jaspert2008-10-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrors.Joerg Jaspert2008-10-22
| | | | | bad fingers, [ != { Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-22
| | | | | | define some more variables Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2008-10-21
| | | | | return Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2008-10-21
| | | | | fix little errors Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync, runmirrorsJoerg Jaspert2008-10-20
| | | | | | code cleanups Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-19
| | | | | | first code for a 2stage sync trigger. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-19
| | | | | | | Add remote command options and callback. Also move functions to one single place. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Dont use exec in runmirrors.Joerg Jaspert2008-09-28
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* FixesJoerg Jaspert2008-09-28
| | | | | | | | - 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>
* ftpsyncJoerg Jaspert2008-09-27
| | | | | | Add a (rewritten) ftpsync script together with an config file example. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* common functionsJoerg Jaspert2008-09-27
Add a file for common functions. Currently only holds a (very adapted) version of signal() Signed-off-by: Joerg Jaspert <joerg@debian.org>