From 1e11acb9cf5e5c8642e4f9d5c44455fd14045502 Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Sun, 11 May 2025 23:32:25 -0400 Subject: initial commit --- scripts/constant-sync.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/constant-sync.sh (limited to 'scripts/constant-sync.sh') diff --git a/scripts/constant-sync.sh b/scripts/constant-sync.sh new file mode 100755 index 0000000..c016b44 --- /dev/null +++ b/scripts/constant-sync.sh @@ -0,0 +1,5 @@ +#!/bin/bash +while true; do + rsync -av --delete ./zola-static/public/ /var/www/homepage/ + sleep 5 # wait 5 seconds before the next sync +done -- cgit v1.2.3