]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/files/static-mirroring/static-master-ssh-wrap
Mess with rsync options
[dsa-puppet.git] / modules / roles / files / static-mirroring / static-master-ssh-wrap
index df7e7217bc6e876891d3731d7105f89da2a060fa..b5c88be72321be8687474389b78ff878636fc5e0 100755 (executable)
@@ -89,9 +89,9 @@ serve_dir() {
 do_rsync() {
        local remote_host="$1"; shift
 
-       if [ "$*" = "--server --sender -vlogDtprze.iLsf . -new-/" ] ; then
+       if [ "$*" = "--server --sender -vltrze.iLsf --safe-links . -new-/" ] ; then
                serve_dir "$remote_host" "$BASEDIR/current-push"
-       elif [ "$*" = "--server --sender -vlogDtprze.iLsf . -live-/" ] ; then
+       elif [ "$*" = "--server --sender -vltrze.iLsf --safe-links . -live-/" ] ; then
                local p="$BASEDIR/current-live"
                info "host $remote_host wants $p, acquiring lock"
                lock 200 "$p" 0