Merge pull request from phaer/patch-1

zfs: Make zpool available for zpool-expand-pools
This commit is contained in:
Bernardo Meurer 2022-08-09 15:48:18 -07:00 committed by GitHub
commit a26aa97276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -714,6 +714,8 @@ in
RemainAfterExit = true;
};
path = lib.optionals (cfgExpandOnBoot == "all") [ cfgZfs.package ];
script = ''
for pool in ${poolListProvider}; do
systemctl start --no-block "zpool-expand@$pool"