aboutsummaryrefslogtreecommitdiffstats
path: root/roles/certbot/files/rsync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roles/certbot/files/rsync.sh')
-rw-r--r--roles/certbot/files/rsync.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/certbot/files/rsync.sh b/roles/certbot/files/rsync.sh
new file mode 100644
index 0000000..fa9b27b
--- /dev/null
+++ b/roles/certbot/files/rsync.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Start the rsync server and perform the transfer
+rrsync -wo /etc/letsencrypt/live
+
+# Reload NGINX
+systemctl reload nginx