Loading publish +4 −3 Original line number Diff line number Diff line Loading @@ -32,9 +32,10 @@ rsync \ -Prvz --delete . www-master.torproject.org:/srv/www-master.torproject.org/htdocs echo "Forcing mirror update" ssh -t www-master.torproject.org ' ssh www-master.torproject.org ' ( find /srv/www-master.torproject.org/htdocs ! -perm +444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r || echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run." find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r || ( echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1) ) && echo "Triggering mirror run" && /home/mirroradm/bin/trigger-mirrors' Loading
publish +4 −3 Original line number Diff line number Diff line Loading @@ -32,9 +32,10 @@ rsync \ -Prvz --delete . www-master.torproject.org:/srv/www-master.torproject.org/htdocs echo "Forcing mirror update" ssh -t www-master.torproject.org ' ssh www-master.torproject.org ' ( find /srv/www-master.torproject.org/htdocs ! -perm +444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r || echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run." find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r || ( echo 2>&1 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1) ) && echo "Triggering mirror run" && /home/mirroradm/bin/trigger-mirrors'