[systemd-devel] Umbrella unit for a group of application components

Lennart Poettering lennart at poettering.net
Tue Oct 16 15:54:32 UTC 2018


On Sa, 13.10.18 14:14, Kevin Barry (barrykp at gmail.com) wrote:

> So I tried making it into a service (oneshot, /bin/true,
> RemainAfterExit - I know this is a hack). If I say it "Wants" the
> individual components, then it starts them correctly, but still thinks
> it is up even if individual components (which have "PartOf=" set) are
> stopped. If I try instead to say it "Requires" (or "BindsTo"), then
> the umbrella correctly shows it is not up when one of the components
> is stopped, but it also stops all of the other components.

PartOf= pointing from the umbrella target to the component units
should work, no?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list