shell-things/etc/systemd/system/reflector.service

15 lines
440 B
Desktop File

# This file is due for removal once I get
# https://aminda.eu/blog/english/2015/10/09/arch-reflector.html updated
[Unit]
Description=Pacman mirrorlist update
Requires=network-online.target
After=network-online.target
[Service]
Type=oneshot
# Contained in `systemd-path search-binaries-default`
ExecStart=reflector --protocol https --latest 30 --number 20 --sort rate --save /etc/pacman.d/mirrorlist
[Install]
RequiredBy=multi-user.target