projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add --hard-links to rsync options
[mirror/dsa-puppet.git]
/
modules
/
roles
/
files
/
static-mirroring
/
static-mirror-run
diff --git
a/modules/roles/files/static-mirroring/static-mirror-run
b/modules/roles/files/static-mirroring/static-mirror-run
index
b2bc078
..
038700d
100755
(executable)
--- a/
modules/roles/files/static-mirroring/static-mirror-run
+++ b/
modules/roles/files/static-mirroring/static-mirror-run
@@
-64,7
+64,7
@@
if [ -z "$BASEDIR" ]; then usage >&2; exit 1; fi
if [ -z "$SYNC_SOURCE" ]; then usage >&2; exit 1; fi
RSYNC="rsync"
if [ -z "$SYNC_SOURCE" ]; then usage >&2; exit 1; fi
RSYNC="rsync"
-RSYNC_BASE_OPTIONS="-rtvz --delete --links --safe-links"
+RSYNC_BASE_OPTIONS="-rtvz --delete --links --
hard-links --
safe-links"
RSYNC_SSH_OPTIONS="ssh -o AddressFamily=inet -o BatchMode=yes"
LOGDIR="$HOME/logs"
RSYNC_SSH_OPTIONS="ssh -o AddressFamily=inet -o BatchMode=yes"
LOGDIR="$HOME/logs"