nixos/zfs: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
d4f57da9e8
commit
e95b3d3915
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue