From 9a44b6d1409605976a9ced90c0ef9767605428b9 Mon Sep 17 00:00:00 2001 From: Midgard Date: Wed, 6 Nov 2019 13:54:41 +0100 Subject: [PATCH] Add section about automation --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c83e988..6b0ba19 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,11 @@ git clone https://git.zeus.gent/midgard/git-mirror.git; cd git-mirror ``` The first remote, github is the leader. The others are followers that are updated. +## Automate +To automate mirroring, run it periodically, for example once every 30 minutes. On a *NIX you could +use cron for this, or write a system service definition for your system supervisor (such as +systemd, OpenRC or runit). + ## Tor The leader is fetched over Tor through torify. Make sure Tor is running, or edit the script, changing `torify git fetch` into `git fetch`.