[systemd-devel] Running scripts after networkd has done its things

Lennart Poettering lennart at poettering.net
Tue Jul 28 14:49:32 UTC 2020


On Fr, 24.07.20 16:44, John Ioannidis (systemd-devel at tla.org) wrote:

> I'm trying to be a good boy and migrate as much functionality as I can to
> networkd.
>
> I'm happy with how networkd manages "internal" and "external" interfaces
> and vlans for just setting up IPv4 addresses, but I still find support for
> IPv6 to be woefully inadequate, at least for my environment;
> netfilter/ipfilter support is also too rudimentary. What would be the
> "correct" (whatever that means!) way to run scripts after networkd has
> finished coming up, and before it has started going down? Essentially, I
> want to emulate the up/down feature of ifupdown.

See systemd.special(7), look for "network-online.target".

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list