diff options
-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" |