I've been playing with the offline updates thing a bit. Is this the
kind of service file that PackageKit should install into
/usr/lib/systemd/system/ ?

[Unit]
Description=Updates the operating system whilst offline
DefaultDependencies=no
After=system-update.target

[Service]
Type=oneshot
ExecStart=/usr/libexec/pk-offline-update

I'm guessing I also have to do something like "ln -sf
/lib/systemd/system/packagekit-offline-update.service
/etc/systemd/system/system-update.target.wants/packagekit-offline-update.service"
as well.

Thanks,

Richard.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to