[Unit] Description=Update the operating system whilst offline DefaultDependencies=no Requires=sysinit.target dbus.socket After=sysinit.target dbus.socket systemd-journald.socket system-update-pre.target Before=shutdown.target system-update.target # See packagekit.service ConditionPathExists=!/run/ostree-booted [Service] Type=oneshot ExecStart=/usr/lib/packagekit/pk-offline-update FailureAction=reboot