mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-30 23:02:45 +01:00
12 lines
281 B
SYSTEMD
12 lines
281 B
SYSTEMD
|
[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
|