diff options
| author | Janne Heß <janne@hess.ooo> | 2022-01-29 22:56:52 +0100 |
|---|---|---|
| committer | Janne Heß <janne@hess.ooo> | 2022-02-09 14:31:45 +0100 |
| commit | b9bb1de34121312c4c37829b8ee10c81ffd2187a (patch) | |
| tree | 72651f364cb4026c35541ebc207fd6c1090f2cdd /pkgs/development/python-modules/rangehttpserver | |
| parent | 78db7b6529a12f2afbac4d3958b68c23b04e8996 (diff) | |
nixos/switch-to-configuration: Implement reload support
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`.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
