summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-01-20 15:32:32 +0100
committerJanne Heß <janne@hess.ooo>2022-01-20 17:10:02 +0100
commitb52372675d75eac74312bb3adfb8fe6d1e4c702b (patch)
tree4154e50e993f4999f336dcf787a5394452ab3a95 /pkgs/development/python-modules/rangehttpserver
parent96d36b0c2e5a4be7c5538f7dea7c16154081af29 (diff)
nixos/switch-to-configuration: Clean up lower part of the script
- Fully get rid of `parseKeyValues` and use systemctl features for that - Add some regex modifiers recommended by perlcritic - Get rid of a postfix if - Sort units when showing their status - Clean the logic for showing what failed from `elif` to `next` - Switch from `state` to `substate` for `auto-restart` because that's actually where the value is stored - Show status of units with one single systemctl call and get rid of COLUMNS in favor of --full - Add a test for failing units
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions