diff options
-rw-r--r-- | reflector.conf | 5 | ||||
-rw-r--r-- | reflector.service | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/reflector.conf b/reflector.conf index f17f2dff1024..397e063c5ec5 100644 --- a/reflector.conf +++ b/reflector.conf @@ -3,3 +3,8 @@ COUNTRY=Germany LATEST=30 NUMBER=20 SORT=rate +### remove an entry if you don't want it as available protocol +PROTOCOL1=http +PROTOCOL2=https +PROTOCOL3=ftp +PROTOCOL4=rsync diff --git a/reflector.service b/reflector.service index 4d6f44ee850c..1392551bcb69 100644 --- a/reflector.service +++ b/reflector.service @@ -8,4 +8,4 @@ After=network-online.target Type=oneshot EnvironmentFile=/usr/share/reflector-timer/reflector.conf EnvironmentFile=-/etc/conf.d/reflector.conf -ExecStart=/usr/bin/reflector --age "$AGE" --country "$COUNTRY" --latest "$LATEST" --number "$NUMBER" --sort "$SORT" --save /etc/pacman.d/mirrorlist +ExecStart=/usr/bin/reflector --age "$AGE" --country "$COUNTRY" --latest "$LATEST" --number "$NUMBER" --sort "$SORT" --save /etc/pacman.d/mirrorlist --protocol "$PROTOCOL1" --protocol "$PROTOCOL2" --protocol "$PROTOCOL3" --protocol "$PROTOCOL4" |