On Fr, 08.12.17 20:54, Johannes Ernst ([email protected]) wrote:

> Thanks. I’m not surprised that work remains ...
> 
> Related question: systemd-networkd-wait-online.target seems to
> assume that once the network is online, it stays that way. I’d like
> to also take action when it goes down, and again when it comes back
> up. Any pointers how to best go about this? Is there an inverse of
> the systemd-networkd-wait-online executable?

No, targets are not supposed to fully track system state. If you want
to track network up/down cycles use the rtnetlink API. Sorry.

Lennart

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

Reply via email to