1 |
On Fri, Oct 31, 2014 at 1:34 PM, Tom H <tomh0665@×××××.com> wrote: |
2 |
> Is "After" really necessary as an option? I've never come across a |
3 |
> service that uses "After" without a "Requires" or a Wants" but I've |
4 |
> never taken the time to look. |
5 |
> |
6 |
|
7 |
Hmm, I found After more common that Wants, but maybe I only look at |
8 |
units that have problems. :) |
9 |
|
10 |
I think the intent is to handle optional dependencies, but in practice |
11 |
I don't know that it works well. It would almost be better to have |
12 |
some kind of cluster config file that specifies all the actual |
13 |
dependencies (possibly including cross-host) and have it spit out all |
14 |
the unit dependencies automatically. That is a bit much to ask for |
15 |
now, and probably a bit much for somebody who just wants their laptop |
16 |
to launch kde after all their mounts are ready. |
17 |
|
18 |
Specifying After vs Wants separately does make sense. Dependency |
19 |
doesn't have to imply sequential. |
20 |
|
21 |
-- |
22 |
Rich |