diff options
author | Nikolay Amiantov <ab@fmap.me> | 2019-07-25 16:36:16 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2019-08-01 00:55:35 +0300 |
commit | ca780f4a186ab27425bd57737fe7b9638c2b27a8 (patch) | |
tree | da72ed27b0fdf0fd113d19d358451504d47a2a57 /nixos/modules/system | |
parent | b9b27912ce1c7afb0e99ebee46ad9805abddaaf7 (diff) | |
download | nixlib-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