Commit 9a44b6d1 authored by midgard's avatar midgard

Add section about automation

parent 3c1e51bb
......@@ -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`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment