From a96330699f6a45de80138a84e7029fd56fbcc78d Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 30 Jul 2020 10:39:07 +0200 Subject: Use latest synced mirrors instead of age configs/releng/airootfs/etc/systemd/system/reflector.service: Use the 70 mirrors synced most recently (--latest) instead of a specific time since last sync (--age). According to FS#67399 using 1hour as sync age is too short, as it sometimes leads to empty list. --- configs/releng/airootfs/etc/systemd/system/reflector.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/releng/airootfs') diff --git a/configs/releng/airootfs/etc/systemd/system/reflector.service b/configs/releng/airootfs/etc/systemd/system/reflector.service index e15dccf..4058e36 100644 --- a/configs/releng/airootfs/etc/systemd/system/reflector.service +++ b/configs/releng/airootfs/etc/systemd/system/reflector.service @@ -9,7 +9,7 @@ ConditionKernelCommandLine=!mirror [Service] Type=oneshot -ExecStart=/usr/bin/reflector --protocol https --age 1 --sort rate --save /etc/pacman.d/mirrorlist +ExecStart=/usr/bin/reflector --protocol https --latest 70 --sort rate --save /etc/pacman.d/mirrorlist Restart=on-failure RestartSec=10 CacheDirectory=reflector -- cgit v1.2.3-54-g00ecf