🐧 Use Reflector to update your pacman mirror list

2016/12/04 by Paulo Pereira

~/categories/Linux #Linux #Arch Linux #Reflector #pacman

sudo pacman -S reflector

sudo vi /etc/systemd/system/reflector.service
[Unit]
Description=Pacman mirrorlist update

[Service]
Type=oneshot
ExecStart=/usr/bin/reflector --verbose --country 'Portugal' -l 5 -p http --sort rate --save /etc/pacman.d/mirrorlist
sudo systemctl start reflector