From 330a80d83da4bd3b14cce226ca42e4ca8439d8e7 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 30 Aug 2022 13:44:41 +0100 Subject: add scripts --- frontends/scripts/rsync.sh.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 frontends/scripts/rsync.sh.tpl (limited to 'frontends/scripts/rsync.sh.tpl') 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 +<% } %> -- cgit v1.2.3