systemd: note that reflector.service is due for removal, add reflector.service.d

This commit is contained in:
Aminda Suomalainen 2024-08-10 08:57:55 +03:00
parent 9e676e52c1
commit 0a0c8822af
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# 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

View File

@ -0,0 +1,4 @@
[Service]
ExecStart=
# Remember reflector --list-countries
ExecStart=/usr/bin/reflector --save /etc/pacman.d/mirrorlist --protocol https --country 'Finland,Sweden,Norway,Estonia,Germany' --latest 25 --sort rate