sort reflector by score

This commit is contained in:
tengel 2024-09-14 09:25:22 -05:00
parent 4880ef96cb
commit 0fb0486860

View file

@ -0,0 +1,30 @@
# Reflector configuration file for the systemd service.
#
# Empty lines and lines beginning with "#" are ignored. All other lines should
# contain valid reflector command-line arguments. The lines are parsed with
# Python's shlex modules so standard shell syntax should work. All arguments are
# collected into a single argument list.
#
# See "reflector --help" for details.
# Recommended Options
# Set the output path where the mirrorlist will be saved (--save).
--save /etc/pacman.d/mirrorlist
# Select the transfer protocol (--protocol).
--protocol https
# Select the country (--country).
# Consult the list of available countries with "reflector --list-countries" and
# select the countries nearest to you or the ones that you trust. For example:
# --country France,Germany
--country "United States"
# Use only the most recently synchronized mirrors (--latest).
#--latest 5
--score 5
# Sort the mirrors by synchronization time (--sort).
#--sort age
--sort score