<div dir="ltr">How about adding an "--order" option to systemctl? With this option, systemctl will sort those units by ordering dependencies before submitting them. Although I personally wanted this to be the default behavior, I can understand comparability matters.<div><br></div><div>John Lin</div></div><br><div class="gmail_quote"><div dir="ltr">Reindl Harald <<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>> 於 2018年1月12日 週五 上午4:57寫道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Am 11.01.2018 um 20:27 schrieb Andrei Borzenkov:<br>
> 11.01.2018 21:56, Reindl Harald пишет:<br>
>><br>
>> it complete unexpected nonsense when i have two services which have a<br>
>> clear start ordering<br>
><br>
> "services start ordering" is fundamental misconception. Ordering exists<br>
> between jobs, not units. Unfortunately, systemd documentation does very<br>
> little to explain it<br>
<br>
come on - nobody cares about this bullshit bingo about what are jobs,<br>
units and services<br>
<br>
"systemctl restart a.service b.service" are two jobs when you want it to<br>
call that way witch a implicit ordering defined with After/Before when<br>
you want it to call job<br>
<br>
just because i give you 2 tasks at the same time you are not supposed to<br>
do them at the same time when you look at them and see a benefit for<br>
both in doing it in a specific order<br>
<br>
*please* forget the bullshit bingo<br>
<br>
when i have to look into avery unit if it contains After/Before to fire<br>
up the restarts ina correct order by hand something is broken - it's<br>
really that simple<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div>