[systemd-devel] Create a target unit to start & stop a group of services

林自均 johnlinp at gmail.com
Tue Feb 27 01:49:09 UTC 2018


Hi both Michal,

Thank you for the quick responses! I think I will keep on using the tedious
PartOf= directive.

However, may I ask why ConsistsOf= is readonly? If I can use it in my
"my-apps.target", that would be great.

John Lin

Michal Koutný <mkoutny at suse.com> 於 2018年2月26日 週一 下午7:28寫道:

>
>
> On 02/26/2018 11:08 AM, Michal Sekletar wrote:
> > Unfortunately, we don't have a dependency (AFAIK) that only propagates
> > stop actions.
> FTR (not helpful for the original problem), there exists ConsistsOf= as
> an inverse of PartOf= dependency. However, it's read only currently (or
> strictly speaking, writable through the PartOf= endpoint).
>
> Michal
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180227/41d02896/attachment.html>


More information about the systemd-devel mailing list