12 lines
307 B
SYSTEMD
12 lines
307 B
SYSTEMD
|
[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
|