Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos/dhcpcd: restart dhcpcd if exit hook changed #72931
Motivation for this change
Note: this is a fairly opinionated change. I don't consider myself sufficiently experienced with
This change ensures that
This change ensures that `dhcpcd.service` is restarted as soon as the exit hook changes. I use this hook to do additional configuration for my network (like setting a route via the given gateway to my WireGuard) and when changing parts of this exit hook I'd expect to get this activated when switching to my new configuration.