Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2020-07-30 10:39:07 +0200
committerDavid Runge <dvzrv@archlinux.org>2020-07-30 12:06:57 +0200
commita96330699f6a45de80138a84e7029fd56fbcc78d (patch)
treeef051d6f214e4cb66577b2116eaf9d001f9797a6 /configs/releng/airootfs/etc
parentb5f04dba2b45d4949cad0666d0df84637e10960f (diff)
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.
Diffstat (limited to 'configs/releng/airootfs/etc')
-rw-r--r--configs/releng/airootfs/etc/systemd/system/reflector.service2
1 files changed, 1 insertions, 1 deletions
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