[systemd-devel] A question about systemd offline update

Lennart Poettering lennart at poettering.net
Wed Aug 3 15:10:16 UTC 2016


On Wed, 03.08.16 05:49, lin webber (WebberLin at outlook.com) wrote:

> hello:
>            I have a question about systemd offline update.I want to write a shell script to install some deb packages with systemd . I have read docs about offline system updates in https://www.freedesktop.org/wiki/Software/systemd/SystemUpdates/. but still don't know how to write my script . Can you give me a test script about how to implement offline updates and a guidance about how to config the .service file.
>          thanks very much.
> SystemUpdates<https://www.freedesktop.org/wiki/Software/systemd/SystemUpdates/>
> www.freedesktop.org
> Back to systemd. This document has been replaced by systemd.offline-updates(7) man page. Implementing Offline System Updates. This is implemented starting with ...

PackageKit is using this functionality, consider having a look at its sources.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list