bs-units/get-pacman-updates.service
2022-04-15 21:08:45 -04:00

12 lines
331 B
Desktop File

[Unit]
Description=Download Pacman Updates
[Service]
Type=oneshot
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
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