Added environment variable for easier editing.

master
Brainwrecked Tech 5 years ago
parent 6ca42fa806
commit 8f6af893a5

@ -2,8 +2,9 @@
Description=Refresh Pacman Mirror List
[Service]
Environment=COUNTRY=US
Type=oneshot
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/usr/bin/reflector -p https -l 5 -c US --sort rate --save /etc/pacman.d/mirrorlist
ExecStart=/usr/bin/reflector -p https -l 5 -c ${COUNTRY} --sort rate --save /etc/pacman.d/mirrorlist

Loading…
Cancel
Save