diff options
author | killermoehre | 2017-02-25 17:13:08 +0100 |
---|---|---|
committer | killermoehre | 2017-02-25 17:13:08 +0100 |
commit | 63f820626d75420b5bdffc6437cbf32d5ba79a76 (patch) | |
tree | 58af1070876ada6fa33d83964fb4dc3884e819d8 | |
parent | c164b4e778ee5036bfa396285db6dbf626cabbde (diff) | |
download | aur-63f820626d75420b5bdffc6437cbf32d5ba79a76.tar.gz |
thanks to dvzrv: fixed the actual protocol selection. it probably worked never as intended
-rw-r--r-- | reflector.conf | 8 | ||||
-rw-r--r-- | reflector.service | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/reflector.conf b/reflector.conf index 397e063c5ec5..4674b84de368 100644 --- a/reflector.conf +++ b/reflector.conf @@ -4,7 +4,7 @@ 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 +PROTOCOL1='-p http' +PROTOCOL2='-p https' +PROTOCOL3='-p ftp' +PROTOCOL4='-p rsync' diff --git a/reflector.service b/reflector.service index 1392551bcb69..1b50a8325432 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 --protocol "$PROTOCOL1" --protocol "$PROTOCOL2" --protocol "$PROTOCOL3" --protocol "$PROTOCOL4" +ExecStart=/usr/bin/reflector --age "$AGE" --country "$COUNTRY" --latest "$LATEST" --number "$NUMBER" --sort "$SORT" --save /etc/pacman.d/mirrorlist "$PROTOCOL1" "$PROTOCOL2" "$PROTOCOL3" "$PROTOCOL4" |