1[Unit] 2Description=Import ZFS pools by device scanning 3Documentation=man:zpool(8) 4DefaultDependencies=no 5Requires=systemd-udev-settle.service 6After=systemd-udev-settle.service 7After=cryptsetup.target 8After=multipathd.target 9Before=zfs-import.target 10ConditionPathExists=!@sysconfdir@/zfs/zpool.cache 11ConditionPathIsDirectory=/sys/module/zfs 12 13[Service] 14Type=oneshot 15RemainAfterExit=yes 16ExecStart=@sbindir@/zpool import -aN -o cachefile=none 17 18[Install] 19WantedBy=zfs-import.target 20