Last active
February 14, 2021 05:07
-
-
Save ioquatix/62c0fb6b451adec9a16e2d72ea29a91b to your computer and use it in GitHub Desktop.
Reflector weekly update for fast arch linux package download in New Zealand!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
samuel@hana ~ [1]> sudo systemctl enable --now reflector.timer | |
Created symlink /etc/systemd/system/timers.target.wants/reflector.timer → /usr/lib/systemd/system/reflector.timer. | |
samuel@hana ~> cat /etc/xdg/reflector/reflector.conf | |
# 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 "New Zealand,Australia" | |
# Use only the most recently synchronized mirrors (--latest). | |
--age 48 | |
# Sort the mirrors by synchronization time (--sort). | |
--sort rate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment