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.
This commit is contained in:
parent
b5f04dba2b
commit
a96330699f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user