Re: [systemd-devel] Restart of Target should restart all services that are wanted by that target and have StopWhenUnneeded=true

2014-06-27 Thread Andrey Borzenkov
On Fri, Jun 27, 2014 at 9:56 AM, Michael Seiwald michael.seiw...@ith-icoserve.com wrote: Hi, I have a target unit that acts as a collection unit for several service units. The service units all have a WantedBy directive pointing to the target unit as well as StopWhenUnneeded set to true.

Re: [systemd-devel] Restart of Target should restart all services that are wanted by that target and have StopWhenUnneeded=true

2014-06-27 Thread Michael Seiwald
With PartOf it works perfectly. Thanks! -Ursprüngliche Nachricht- Von: Andrey Borzenkov [mailto:arvidj...@gmail.com] Gesendet: Freitag, 27. Juni 2014 10:32 An: Michael Seiwald Cc: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] Restart of Target should restart all