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

15 lines
440 B
SYSTEMD
Raw Normal View History

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