Merge pull request #72931 from Ma27/restart-dhcp-on-exit-hook-change

nixos/dhcpcd: restart dhcpcd if exit hook changed
This commit is contained in:
Maximilian Bosch
2020-02-02 18:33:34 +01:00
committed by GitHub

View File

@@ -190,6 +190,8 @@ in
before = [ "network-online.target" ];
after = [ "systemd-udev-settle.service" ];
restartTriggers = [ exitHook ];
# Stopping dhcpcd during a reconfiguration is undesirable
# because it brings down the network interfaces configured by
# dhcpcd. So do a "systemctl restart" instead.