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:
		
						commit
						c2d2c2d0ca
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user