about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2019-07-25 16:36:16 +0300
committerNikolay Amiantov <ab@fmap.me>2019-08-01 00:55:35 +0300
commitca780f4a186ab27425bd57737fe7b9638c2b27a8 (patch)
treeda72ed27b0fdf0fd113d19d358451504d47a2a57 /nixos/modules/system
parentb9b27912ce1c7afb0e99ebee46ad9805abddaaf7 (diff)
downloadnixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.tar
nixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.tar.gz
nixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.tar.bz2
nixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.tar.lz
nixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.tar.xz
nixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.tar.zst
nixlib-ca780f4a186ab27425bd57737fe7b9638c2b27a8.zip
swraid service: use upstream units
This fixes a serious bug on NixOS with swraid where mdadm arrays weren't
properly stopped on shutdown. Rather than fixing the unit by adding
`Before=final.target` we completely move to upstream units, which uses
systemd shutdown hooks instead. This also drives down maintenance costs
for us.
Diffstat (limited to 'nixos/modules/system')
0 files changed, 0 insertions, 0 deletions