a.service will just not stop after it gets activated, and b.service fails. Otherwise, the start job is cancelled with a JOB_DEPENDENCY job result. If you need those semantics (and people often do), use After=, so that the start job for a waits for the running job of b to complete (note that if you have other things it needs to wait on, it will infact wait on them and may even produce results you get with After=).<div><br></div><div>There may be a case made about installing a job of type JOB_STOP if and ever b.service's *activation* fails, even after a.service activates successfully, but I wonder if people are already using Requires= alone to just cause the explicit stop requests (which is why they might not be usinf PartOf=) of the required unit to take down their service, and startup dependencies don't really matter. With this change, you'd break that then.<br><br>On Thursday, January 3, 2019, Jérémy Rosen <<a href="mailto:jeremy.rosen@smile.fr">jeremy.rosen@smile.fr</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
<blockquote type="cite">
<pre>Make of that what you will. I was expecting a.service to stop because
b.service failed, but apparently my understanding of this isn't quite
right.</pre>
</blockquote>
<br>
And that's kinda my point... most people (me included until
recently) expect that behaviour <br>
<br>
I think the overall conclusion of that conversation is that...
everything is very confusing and everybody is very confused.<br>
<br>
<br>
I'll try to clarify the docs and create a PR for that... It seems to
be severely needed. <br>
<br>
<div>-- <br>
<div>
<font face="Raleway, regular">
<table style="padding:20px" border="0">
<tbody>
<tr>
<td style="font-size:13px;color:#ff8054;text-align:center;padding-right:30px"> <a href="http://www.smile.eu/" target="_blank"> <img style="max-width:100%;height:auto" src="http://ftp.smile.fr/client/Communication/signature/img/Logo-new.png" alt="SMILE"> </a><br>
<br>
<p>20 rue des Jardins<br>
92600 Asnières-sur-Seine</p>
</td>
<td style="border-left:1px solid #3b7ffe;padding-left:20px;font-size:13px;color:#ff8054">
<div style="color:#ff8054;font-size:14px"> <b>Jérémy
ROSEN</b> </div>
<div style="color:#3b7ffe;font-size:13px">
Architecte technique<br>
Responsable de l'expertise Smile-ECS </div>
<br>
<div style="color:#3b7ffe;font-size:13px"> <span style="white-space:nowrap"><img style="margin-right:5px" src="http://ftp.smile.fr/client/Communication/signature/img/mail.png" alt="email" width="12" height="10"> <a href="mailto:jeremy.rosen@smile.fr" style="color:#3b7ffe;font-size:13px;text-decoration:none" target="_blank">jeremy.rosen@smile.fr</a>
</span> <br>
<span style="white-space:nowrap"><img style="margin-right:5px" src="http://ftp.smile.fr/client/Communication/signature/img/phone.png" alt="phone" width="10" height="10"></span>
+33141402967 <br>
<span style="white-space:nowrap"><img style="margin-right:5px" src="http://ftp.smile.fr/client/Communication/signature/img/web.png" alt="url" width="12" height="12">
<a href="http://www.smile.eu" style="color:#3b7ffe;font-size:13px;text-decoration:none" target="_blank">http://www.smile.eu</a> </span>
</div>
<br>
<div> <span><a style="margin-right:5px" href="https://twitter.com/GroupeSmile" target="_blank"><img src="http://ftp.smile.fr/client/Communication/signature/img/rs-twitter.png" alt="Twitter" style="max-width:100%;height:auto"></a></span> <span><a style="margin-right:5px" href="https://www.facebook.com/smileopensource" target="_blank"><img src="http://ftp.smile.fr/client/Communication/signature/img/rs-facebook.png" alt="Facebook" style="max-width:100%;height:auto"></a></span> <span><a style="margin-right:5px" href="https://www.linkedin.com/company/smile" target="_blank"><img src="http://ftp.smile.fr/client/Communication/signature/img/rs-linkedin.png" alt="LinkedIn" style="max-width:100%;height:auto"></a></span> <span><a style="margin-right:5px" href="https://github.com/Smile-SA" target="_blank"><img src="http://ftp.smile.fr/client/Communication/signature/img/rs-github.png" alt="Github" style="max-width:100%;height:auto"></a></span> </div>
</td>
</tr>
</tbody>
</table>
<br>
<div> <a href="http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature" target="_blank"><img src="http://signature.smile.eu/assets/img/bandeau_mail_smile2017.gif.gif" alt="Découvrez l’univers Smile, rendez-vous sur
smile.eu" border="0"></a></div>
<br>
<div style="color:#a3acb5;font-size:10px"> <img src="http://ftp.smile.fr/client/Communication/signature/img/eco.png" alt="eco" width="13" height="11"> Pour la planète,
n'imprimez ce mail que si c'est nécessaire </div>
</font>
</div>
</div>
</div>
</blockquote></div>