--- /dev/null
+# Requires following line in sudoers allowing users in wheel
+# to download packages without password
+# %wheel ALL=(ALL) NOPASSWD: /usr/bin/pacman -Sw --noconfirm * --dbpath *
+
+[Unit]
+Description=Check pacman updates and dowload packages to cache
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/checkupdates -d
+# checkupdates returns 2 when there are no updates
+SuccessExitStatus=2