diff --git a/update-reflector.service b/update-reflector.service index 0ca9704..9cbb54b 100644 --- a/update-reflector.service +++ b/update-reflector.service @@ -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