From 8f6af893a510b0f1933d66bb799b8b67b656b9b5 Mon Sep 17 00:00:00 2001 From: BrainwreckedTech Date: Sat, 14 Sep 2019 10:15:47 -0400 Subject: [PATCH] Added environment variable for easier editing. --- update-reflector.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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