nixos/zfs: Respect forceImportAll in import service
This commit is contained in:
parent
ffe4dbf32f
commit
a4010e0580
@ -507,6 +507,7 @@ in
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
};
|
||||
environment.ZFS_FORCE = optionalString cfgZfs.forceImportAll "-f";
|
||||
script = (importLib {
|
||||
# See comments at importLib definition.
|
||||
zpoolCmd="${packages.zfsUser}/sbin/zpool";
|
||||
|
Loading…
Reference in New Issue
Block a user