qubes-update-check.service 295 B

1234567
  1. [Unit]
  2. Description=Qubes check for VM updates and notify dom0
  3. ConditionPathExists=/var/run/qubes-service/qubes-update-check
  4. [Service]
  5. Type=oneshot
  6. ExecStart=/usr/lib/qubes/qrexec_client_vm dom0 qubes.NotifyUpdates /bin/sh -c 'yum -q check-update >/dev/null; [ $? -eq 100 ] && echo 1 || echo 0'