summaryrefslogtreecommitdiff
path: root/frontends/scripts/rsync.sh.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/scripts/rsync.sh.tpl')
-rw-r--r--frontends/scripts/rsync.sh.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontends/scripts/rsync.sh.tpl b/frontends/scripts/rsync.sh.tpl
new file mode 100644
index 0000000..c55a86b
--- /dev/null
+++ b/frontends/scripts/rsync.sh.tpl
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+PATH=$PATH:/usr/local/bin
+
+<% unless ($is_primary->($vio0_ip)) { %>
+/usr/local/bin/rsync -av --delete rsync://blowfish.buetow.org/publicgemini/ /var/gemini
+/usr/local/bin/rsync -av --delete rsync://blowfish.buetow.org/publichttp/ /var/www/htdocs
+<% } %>