summaryrefslogtreecommitdiff
path: root/mirror.service.8
blob: 2e70c1bb573cc287db1d1adfb056301cfb756700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH mirror.service 8 "2024-01-19"
.SH NAME
mirror.service, mirror.timer - systemd units for automated git mirroring
.SH SYNOPSIS
.B mirror.service
.br
.B mirror.timer
.SH DESCRIPTION
Periodically runs
.BR mirror (1)
by default in
.I /srv/mirror
with repositories list sourced from
.IR /srv/mirror/repositories.mirror .
Writing down list of sources in this file and then enabling
.B mirror.timer
is enough for a simple setup.
.P
By default timer is configured to use
.B Persistent=true
setting which may cause races with DNS resolvers like
.BR systemd-resolved.service .
Currently, it does not seem like there is a good built-in solution to handle it. You may choose to write and depend on a
target that marks the moment after which network DNS resolution is ready.
.SH FILES
.I /usr/lib/systemd/system/mirror.service
.br
.I /usr/lib/systemd/system/mirror.timer
.SH SEE ALSO
.BR mirror (1),
.BR mirror (5)