each other and both can be configured in a unit file. I was wondering why
PartOf= and ConsistsOf= are not the case. Thank you.
Post by 林自均
Hi both Michal,
Thank you for the quick responses! I think I will keep on using the tedious
However, may I ask why ConsistsOf= is readonly? If I can use it in my
"my-apps.target", that would be great.
Because "ConsistsOf" doesn't exist in the way you think it does...
Every relation between units (Wants, Before, PartOf) needs to have an
internal, reverse relation for accounting purpose
That reverse relation is usually an internal detail, but it is handy to
it in "systemctl show" & co.
So that's what you see, an internal property exposed for ease-of-use. not an
external, user configurable property
Unfortunately, we don't have a dependency (AFAIK) that only propagates
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).
[image: SMILE] <http://www.smile.eu/>
20 rue des Jardins
Responsable de l'expertise Smile-ECS
[image: phone] +33141402967 <+33%201%2041%2040%2029%2067>
[image: url] http://www.smile.eu
[image: Twitter] <https://twitter.com/GroupeSmile> [image: Facebook]
<https://www.facebook.com/smileopensource> [image: LinkedIn]
<https://www.linkedin.com/company/smile> [image: Github]
[image: DÃ©couvrez lâunivers Smile, rendez-vous sur smile.eu]
[image: eco] Pour la planÃšte, n'imprimez ce mail que si c'est nÃ©cessaire
systemd-devel mailing list