Skip to content

Commit

Permalink
certbot-replicate: use checksum-based rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Mar 3, 2024
1 parent 20c2552 commit 74d573b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certbot-replicate
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ for replica in ${replicas[@]}; do
echo Deploying to $replica
echo

rsync -rptvl --fsync --delete --fsync --preallocate /etc/letsencrypt/ $replica:/etc/letsencrypt &&
rsync -rptvl --fsync --delete --fsync --preallocate /var/cache/certbot-ocsp-fetcher/ $replica:/var/cache/certbot-ocsp-fetcher &&
rsync -rpcvl --fsync --delete --fsync --preallocate /etc/letsencrypt/ $replica:/etc/letsencrypt &&
rsync -rpcvl --fsync --delete --fsync --preallocate /var/cache/certbot-ocsp-fetcher/ $replica:/var/cache/certbot-ocsp-fetcher &&
ssh root@$replica nginx -s reload ||
status=1
done
Expand Down

0 comments on commit 74d573b

Please sign in to comment.