[Unit] Description=Update pacman mirrorlist with reflector Wants=network-online.target After=network-online.target [Service] Type=oneshot 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] WantedBy=multi-user.target