<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 23, 2018 at 5:41 PM, Brian J. Murrell <span dir="ltr"><<a href="mailto:brian@interlinx.bc.ca" target="_blank">brian@interlinx.bc.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If I have:<br>
<br>
Wants=system.slice nss-lookup.target named-setup-rndc.service<br>
<br>
in named-pkcs11.service, so shouldn't mean that named-pkcs11.service<br>
will be started up before the nss-lookup.target is Reached/Started?<br></blockquote><div><br></div><div>No, dependencies do not imply any specific ordering. (The only exception is when a .target wants/requires another unit.)</div><div><br></div><div>In other words, y<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ou will need to additionally list the same units in After=, or in certain cases in Before=. (For example, named is a nss-lookup provider, so it should have "Before=nss-lookup.target", but "After=named-setup-mdc.service".)</span></div><div><br></div><div>On another note, Wants=system.slice is *very* redundant – all system services go into that slice anyway.</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div>
</div></div>