Loading nixos/modules/system/activation/switch-to-configuration.pl +30 −27 Original line number Diff line number Diff line Loading @@ -190,12 +190,16 @@ sub handleModifiedUnit { } } } # Don't do the rest of this for socket-activated units # because we handled these above where we stop the unit. # Since only services can be socket-activated, the # following condition always evaluates to `true` for # non-service units. if (!$socketActivated) { if ($socketActivated) { return; } # If we are restarting a socket, also stop the corresponding # service. This is required because restarting a socket # when the service is already activated fails. Loading Loading @@ -229,7 +233,6 @@ sub handleModifiedUnit { } } } } # Figure out what units need to be stopped, started, restarted or reloaded. my (%unitsToStop, %unitsToSkip, %unitsToStart, %unitsToRestart, %unitsToReload); Loading Loading
nixos/modules/system/activation/switch-to-configuration.pl +30 −27 Original line number Diff line number Diff line Loading @@ -190,12 +190,16 @@ sub handleModifiedUnit { } } } # Don't do the rest of this for socket-activated units # because we handled these above where we stop the unit. # Since only services can be socket-activated, the # following condition always evaluates to `true` for # non-service units. if (!$socketActivated) { if ($socketActivated) { return; } # If we are restarting a socket, also stop the corresponding # service. This is required because restarting a socket # when the service is already activated fails. Loading Loading @@ -229,7 +233,6 @@ sub handleModifiedUnit { } } } } # Figure out what units need to be stopped, started, restarted or reloaded. my (%unitsToStop, %unitsToSkip, %unitsToStart, %unitsToRestart, %unitsToReload); Loading