.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)