summaryrefslogtreecommitdiff
path: root/certbot-replicate
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-05-05 02:14:58 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-05-05 02:24:21 -0400
commit0ea0e9020080bb64680ce35039d1cdcb71132069 (patch)
tree83523e65ef040f7d89e2d73118eeabe00199395f /certbot-replicate
parent43f9f228567ce2604cc640f9255ba970b7c06e4d (diff)
use new rsync fsync parameter
Diffstat (limited to 'certbot-replicate')
-rwxr-xr-xcertbot-replicate4
1 files changed, 2 insertions, 2 deletions
diff --git a/certbot-replicate b/certbot-replicate
index ef6dc05b..19806e9b 100755
--- a/certbot-replicate
+++ b/certbot-replicate
@@ -9,7 +9,7 @@ for replica in ${replicas[@]}; do
echo Deploying to $replica
echo
- rsync -rptvl --progress --delete /etc/letsencrypt/ $replica:/etc/letsencrypt
- rsync -rptvl --progress --delete /etc/nginx/ocsp-cache/ $replica:/etc/nginx/ocsp-cache
+ rsync -rptvl --fsync --progress --delete /etc/letsencrypt/ $replica:/etc/letsencrypt
+ rsync -rptvl --fsync --progress --delete /etc/nginx/ocsp-cache/ $replica:/etc/nginx/ocsp-cache
ssh root@$replica nginx -s reload
done