diff options
Diffstat (limited to 'releng/airootfs/etc/systemd/system')
| -rw-r--r-- | releng/airootfs/etc/systemd/system/reflector-once.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/releng/airootfs/etc/systemd/system/reflector-once.service b/releng/airootfs/etc/systemd/system/reflector-once.service index f36e778..cb5aae6 100644 --- a/releng/airootfs/etc/systemd/system/reflector-once.service +++ b/releng/airootfs/etc/systemd/system/reflector-once.service @@ -5,7 +5,7 @@ After=network-online.target [Service] Type=oneshot -ExecStart=/usr/bin/reflector -c HU,AT,DE,PL,CZ --protocol https --sort rate --latest 20 --download-timeout 10 --threads 5 --save /etc/pacman.d/mirrorlist +ExecStart=/bin/sh -c 'reflector -c HU,AT,DE,PL,CZ,SK --protocol https --completion-percent 100 --delay 3 --latest 20 --sort rate --number 10 --download-timeout 10 --connection-timeout 5 --threads 5 --save /tmp/reflector-uj && grep -q "^Server" /tmp/reflector-uj && install -m644 /tmp/reflector-uj /etc/pacman.d/mirrorlist' ExecStartPost=/usr/bin/systemctl disable reflector-once.service [Install] |