diff --git a/get-pacman-updates.service b/get-pacman-updates.service index 0468213..75ba271 100644 --- a/get-pacman-updates.service +++ b/get-pacman-updates.service @@ -6,6 +6,6 @@ Type=oneshot Nice=19 IOSchedulingClass=2 IOSchedulingPriority=7 -ExecStart=/usr/bin/pacman -Sy --needed --noconfirm archlinux-keyring +Environment=KEYRINGS="archlinux-keyring chaotic-keyring" +ExecStart=/usr/bin/awk 'BEGIN {print "'${KEYRINGS}'"}' | /usr/bin/xargs /usr/bin/pacman -Sy --needed --noconfirm ExecStart=/usr/bin/pacman -Suw --noconfirm -ExecStart=/usr/bin/paccache -r