git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
13811e24e
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
publish
the publish script now needs you to trigger a sync to the other www
Roger Dingledine
commited
13811e24e
at 2010-03-09 00:53:51
publish
Blame
History
Raw
#!/bin/sh set -e # stop if we encounter an error svn update make # Update a timestamp so we can check whether each mirror is # up to date. [ -d project/trace ] || mkdir -p project/trace date -u > project/trace/www.torproject.org # don't copy over stuff with permissions that make it useless chmod a+r * -R ## I'm not comfortable having arbitrary people use --delete yet, ## since if they screw up it'll blow away arbitrary things. #rsync -Prvz --delete . tor.eff.org:directory/ rsync --exclude .svn --exclude .deps -Prvz . byblos:/var/www/www.torproject.org/htdocs/ echo "Forcing mirror update" ssh byblos '/var/lib/mirror-tor/trigger-sync'