Skip to content
Snippets Groups Projects
Verified Commit a9633069 authored by David Runge's avatar David Runge :chipmunk:
Browse files

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.
parent b5f04dba
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment