From 742c68415b73d6352cb8dd6ece438acb5e581eb5 Mon Sep 17 00:00:00 2001 From: Georg Koppen Date: Tue, 10 May 2022 20:02:50 +0000 Subject: [PATCH] Update cpexit.sh script with code we run on check-01 Closes: #40009. --- scripts/cpexits.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/cpexits.sh b/scripts/cpexits.sh index c4d3f42..a184b10 100755 --- a/scripts/cpexits.sh +++ b/scripts/cpexits.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash -CHECK=/opt/check -TORDATA=/srv/tor -DNSEL=/srv/tordnsel.torproject.org/state +CHECK=/srv/check.torproject.org/check +TORDATA=/srv/check.torproject.org/tordata +DNSEL=/srv/tordnsel.torproject.org NOW=$(date +"%Y-%m-%d-%H-%M-%S") find $CHECK/data/exit-lists -type f -mtime +1 -delete -cat $DNSEL/exit-addresses $DNSEL/exit-addresses.new > $CHECK/data/exit-lists/$NOW +cat $DNSEL/lists/latest > $CHECK/data/exit-lists/$NOW find $CHECK/data/consensuses -type f -mtime +1 -delete cp $TORDATA/cached-consensus $CHECK/data/consensuses/$NOW-consensus -- GitLab