[systemd-devel] Requires and After

Jérémy Rosen jeremy.rosen at smile.fr
Wed Jan 2 09:25:21 UTC 2019


So...
>> Requires = Wants + PartOf
>> Requires + After = Wants  + PartOf + Requisite + After
>>
>> better ?
>> My goal is to try to clarify that in the documentation at some point...
> I don't think Requisite= comes into it at all.
>
> Requisite= propagates a "start" or "restart" job as a "verify-active" job.
> In other words, it only checks that the other unit is active, failing the
> activation of the current unit if necessary.
>
> Requires= propagates these as "start" jobs, activating the other unit if
> it is not already active.
I'm pretty sure that there is something about Requires making a unit 
fail if
it's dependency has already failed when it is scheduled for startup...

Again I may be wrong...
-- 
SMILE <http://www.smile.eu/>

20 rue des Jardins
92600 Asnières-sur-Seine

	
*Jérémy ROSEN*
Architecte technique
Responsable de l'expertise Smile-ECS

email jeremy.rosen at smile.fr <mailto:jeremy.rosen at smile.fr>
phone +33141402967
url http://www.smile.eu

Twitter <https://twitter.com/GroupeSmile> Facebook 
<https://www.facebook.com/smileopensource> LinkedIn 
<https://www.linkedin.com/company/smile> Github 
<https://github.com/Smile-SA>


Découvrez l’univers Smile, rendez-vous sur smile.eu 
<http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature>

eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190102/ad7d15cd/attachment.html>


More information about the systemd-devel mailing list