[systemd-devel] Special targets - should they Want or be WantedBy?

Andrey Borzenkov arvidjaar at mail.ru
Thu Mar 17 02:41:34 PDT 2011


On Thu, Mar 17, 2011 at 11:06 AM, Mike Kazantsev <mk.fraggod at gmail.com> wrote:
> On Thu, 17 Mar 2011 01:04:35 +0100
> Lennart Poettering <lennart at poettering.net> wrote:
>> If DefaultDependencies= is "yes" (which it is by default) for target
>> units then they'll automatically gain an After= for all untis they have
>> Wants= or Requires= on.

> Can this behavior be relied upon or this might change in future
> releases?
>
> It's just that this magic bit makes After= line in lots of units I've
> seen (and wrote) redundant, so can it be dropped and skipped in any
> new units or it's better to be explicit in this case?
>

Do you have that many target units?


More information about the systemd-devel mailing list