On Mo, 21.12.20 17:23, [email protected] ([email protected]) 
wrote:

> Perhaps I'm missing something, but that's still not doing what I expect.
>
> Here's what I have...
>
> #----- /etc/systemd/system/first.target -----#
> [Unit]
> Description=Started first
> Wants=third.service
>
> #----- /etc/systemd/system/second.target -----#
> [Unit]
> Description=Started second
> Wants=third.service
>
> #----- /etc/systemd/system/third.service -----#
> [Unit]
> Description=Third service
> Requisite=first.target second.target

Add "After=first.target second.target" here as well. Ordering and
requirement deps are orthogonal in systemd. See documentation.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to