forked from mirrors/nixpkgs
b9bb1de341
This is accomplished by comparing the hashes that the unit files contain. By filtering for a special key `X-Reload-Triggers` in the `[Unit]` section, we can differentiate between reloads and restarts. Since activation scripts can request reloads of units as well, more checking of this behaviour is implemented. If a unit is to be restarted, it's never reloaded as well which would make no sense. Also removes a useless subroutine and perl dependencies that are nowadays handled by the propagated build inputs feature of `perl.withPackages`. |
||
---|---|---|
.. | ||
activation-script.nix | ||
no-clone.nix | ||
switch-to-configuration.pl | ||
top-level.nix |