Add section about automation
This commit is contained in:
parent
3c1e51bb14
commit
9a44b6d140
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
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
|
## Tor
|
||||||
The leader is fetched over Tor through torify. Make sure Tor is running, or edit the script,
|
The leader is fetched over Tor through torify. Make sure Tor is running, or edit the script,
|
||||||
changing `torify git fetch` into `git fetch`.
|
changing `torify git fetch` into `git fetch`.
|
||||||
|
|
Loading…
Reference in a new issue