On Wed, 04.07.12 10:17, Michal Sekletar (msekl...@redhat.com) wrote: > This should address TODO item "new dependency type to "group" services > in a target". Semantic of new dependency is as follows. Once configured > it creates dependency which will cause that all dependent units get > stopped if unit they all depend on is stopped or restarted. Usual use > case would be configuring StoppedBy=some.target in template unit file > and WantedBy=some.target in [Install] section and enabling desired > number of instances. In this case starting one instance won't pull in > target but stopping or starting target(in case of WantedBy is properly > configured) will cause stop/start of all instances.
The patch looks really good and ready to merge. But one thing I'd like to see changed. I understand why you called this "StoppedBy", but I'd rather avoid that term, since it sounds too "active" to me, i.e. as if this was something that already happened, rather something that just explains relations. So, I'd like to propose to name this "PartOf", which i think is a pretty describing name too, but doesn't sound this "active" to me. Kay, Michal, do you agree? What name would you propose? Thanks, Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel