[systemd-devel] [PATCH 1/3] dbus: introduce new method call NewTransientUnit

Lennart Poettering lennart at poettering.net
Wed Oct 22 08:37:04 PDT 2014


On Tue, 07.10.14 14:20, WaLyong Cho (walyong.cho at samsung.com) wrote:

> It similar with StartTransientUnit but the NewTransientUnit does not
> start the unit immediately. Newly generated transient unit can be
> activated by "systemctl start".

So far units are immediately GC'ed when they aren't running or
otherwise referenced anymore. That's really a behaviour I'd like to
retain. Hence, let's just make the final argument of
StartTransientUnit() do something useful, so that there's one primary
unit to create and start, plus any number of additional units that can
be referenced by the primary one, but are not started immediately.

(see other mail for details)

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list