[systemd-devel] about systemd-system-update-generator

Lennart Poettering lennart at poettering.net
Tue Apr 26 12:54:06 UTC 2016


On Tue, 26.04.16 19:05, samyankun at gmail.com (samyankun at gmail.com) wrote:

> Hi:

> The systemd-system-update-generator use the argv[2],but it runs very
> early at boot.  How to transfer the three parameters to it? I am
> trying implement the offline update by the advice of systemd.

Not sure I follow the question, but see the systemd.generator(5) man
page about details on how generators work.

It's systemd that invokes them at boot time and when "systemctl
daemon-reload" is issue. It passes three directories as arguments that
it creates on-demand.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list