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

14 lines
395 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
ExecStart=/usr/bin/reflector --protocol https --latest 30 --number 20 --sort rate --save /etc/pacman.d/mirrorlist
[Install]
RequiredBy=multi-user.target