dotfiles/files/reflector.service

12 lines
307 B
SYSTEMD
Raw Normal View History

2019-10-06 16:32:35 +01:00
[Unit]
Description=Pacman mirrorlist update
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/reflector --verbose --sort rate -a 1 -p https --threads {{ ansible_facts.processor_vcpus }} --save /etc/pacman.d/mirrorlist
[Install]
RequiredBy=multi-user.target