From 1cd213ed5364cf53a188d35ed40dc103b5bcb4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Sun, 4 Sep 2022 13:47:52 +0200 Subject: [PATCH] Change location of reflector config --- etc/conf.d/reflector.conf | 6 ------ etc/xdg/reflector/reflector.conf | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 6 deletions(-) delete mode 100644 etc/conf.d/reflector.conf create mode 100644 etc/xdg/reflector/reflector.conf diff --git a/etc/conf.d/reflector.conf b/etc/conf.d/reflector.conf deleted file mode 100644 index 40e6190..0000000 --- a/etc/conf.d/reflector.conf +++ /dev/null @@ -1,6 +0,0 @@ -COUNTRY=DE -AGE=6 -LATEST=30 -NUMBER=20 -SORT=rate -PROTOCOL=https diff --git a/etc/xdg/reflector/reflector.conf b/etc/xdg/reflector/reflector.conf new file mode 100644 index 0000000..b92f558 --- /dev/null +++ b/etc/xdg/reflector/reflector.conf @@ -0,0 +1,27 @@ +# 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 Germany + +# Use only the most recently synchronized mirrors (--latest). +--latest 10 + +# Sort the mirrors by synchronization time (--sort). +--sort score \ No newline at end of file