diff options
author | killermoehre | 2016-07-28 20:35:02 +0200 |
---|---|---|
committer | killermoehre | 2016-07-28 20:35:02 +0200 |
commit | 62a12be8f1b763208bab57b9aaf52a368fa1e7e4 (patch) | |
tree | 6b461b4f35270a5f07cff97fe9dc4790b0fbf72d | |
parent | 8ed184c1dafa4672bcabd492d241a1632bcf8827 (diff) | |
download | aur-62a12be8f1b763208bab57b9aaf52a368fa1e7e4.tar.gz |
include the desired protocl. see the config file for how to change it
-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" |