+32
-4
nixos/modules/system/activation/switch-to-configuration.pl
+32
-4
nixos/modules/system/activation/switch-to-configuration.pl
············print STDERR "would restart the following units: ", join(", ", sort(keys %unitsToRestart)), "\n"············system("@systemd@/bin/systemctl", "restart", "--", sort(keys %unitsToRestart)) == 0 or $res = 4;
············print STDERR "would restart the following units: ", join(", ", sort(keys %unitsToRestart)), "\n"············system("@systemd@/bin/systemctl", "restart", "--", sort(keys %unitsToRestart)) == 0 or $res = 4;
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
+73
nixos/tests/restart-by-activation-script.nix
+73
nixos/tests/restart-by-activation-script.nix
···
···