1 # Requires following line in sudoers allowing users in wheel
2 # to download packages without password
3 # %wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sw --noconfirm * --dbpath *
6 Description=Check pacman updates and dowload packages to cache
7 After=network-online.target
11 ExecStart=/usr/bin/checkupdates -d
12 # checkupdates returns 2 when there are no updates