mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/zfs: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
d4f57da9e8
commit
e95b3d3915
@ -127,7 +127,8 @@ let
|
||||
"systemd-ask-password-console.service"
|
||||
];
|
||||
requiredBy = getPoolMounts prefix pool ++ [ "zfs-import.target" ];
|
||||
before = getPoolMounts prefix pool ++ [ "zfs-import.target" ];
|
||||
before = getPoolMounts prefix pool ++ [ "shutdown.target" "zfs-import.target" ];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
unitConfig = {
|
||||
DefaultDependencies = "no";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user