[Unit] Description=Import encrypted boot pool Documentation=man:zpool(8) DefaultDependencies=no Requires=systemd-udev-settle.service After=cryptsetup.target Before=boot.mount ConditionPathIsDirectory=/sys/module/zfs [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/zpool import -aNd /dev/mapper [Install] WantedBy=zfs-import.target