nixpkgs/nixos/modules/system/activation
Janne Heß cfad5e3403
nixos/switch-to-configuration: Improve socket support
This commit changes a lot more that you'd expect but it also adds a lot
of new testing code so nothing breaks in the future. The main change is
that sockets are now restarted when they change. The main reason for
the large amount of changes is the ability of activation scripts to
restart/reload units. This also works for socket-activated units now,
and honors reloadIfChanged and restartIfChanged. The two changes don't
really work without each other so they are done in the one large commit.

The test should show what works now and ensure it will continue to do so
in the future.
2021-10-17 14:35:43 +02:00
..
activation-script.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
no-clone.nix
switch-to-configuration.pl nixos/switch-to-configuration: Improve socket support 2021-10-17 14:35:43 +02:00
top-level.nix nixos/top-level: Check Syntax of switch-to-configuration 2021-10-17 14:33:42 +02:00