diff options
author | Simon Paillard <spaillard@debian.org> | 2009-11-04 01:13:35 +0100 |
---|---|---|
committer | Simon Paillard <spaillard@debian.org> | 2009-11-04 01:13:35 +0100 |
commit | 1b9688dbba140cb4722ac34273eba0dc99ad79ce (patch) | |
tree | 4fb869539b7a7e10b4cae7a2910d2e344b446273 /etc | |
parent | e9e25bee119210c761df07021a43ff1a6e0a9c0a (diff) |
Filter protect sponsor-specific files instead of exluding them (which
delete them cause of --delete-excluded)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/websync.conf.sample | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/websync.conf.sample b/etc/websync.conf.sample index 08e2413..b397fef 100644 --- a/etc/websync.conf.sample +++ b/etc/websync.conf.sample @@ -53,11 +53,11 @@ ## If you do want to exclude files from the mirror run, put --exclude statements here. ## See rsync(1) for the exact syntax, these are passed to rsync as written here. ## Please do not use this except for rare cases and after you talked to us. -## For the sponsor logos see SITE_EXCLUDE +## For the sponsor logos see SITE_FILTER #EXCLUDE=${EXCLUDE:-"--exclude ${HOSTNAME}"} ## And site specific excludes, by default its the sponsor stuff that should be local to all -#SITE_EXCLUDE=${SITE_EXCLUDE:-"--exclude core --exclude sponsor_img.jpg --exclude sponsor.html"} +#SITE_FILTER=${SITE_FILTER:-"--filter=protect_sponsor_img.jpg --filter=protect_sponsor.html"} ## Do we have leaf mirror to signal we are done and they should sync? ## If so set it to true and make sure you configure runmirrors-websync.mirrors |