X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/975bc249f10b1684bf4371c0f0d9f32928113856..c6b8950819350ba653e3b272001d417879ca642b:/systemd/system/checkupdates.service diff --git a/systemd/system/checkupdates.service b/systemd/system/checkupdates.service new file mode 100644 index 0000000..5cabb6a --- /dev/null +++ b/systemd/system/checkupdates.service @@ -0,0 +1,9 @@ +[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