1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/syncarchive/files/syncarchive.service
Sven-Hendrik Haase 8e33fb5ae8
Add syncarchive role
This is a new role for syncing the archive. Currently only ger.mirror.pkgbuild.com is capable of this due to disk space requirements. It can probably be extended fairly easily to other hosts.
2019-10-25 05:51:37 +02:00

11 lines
207 B
SYSTEMD

[Unit]
Description=Synchronize package archive mirror
RequiresMountsFor=/srv/archive
[Service]
Type=oneshot
ExecStart=/usr/local/bin/syncarchive
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7