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.service 9Before=zfs-import.target 10ConditionFileNotEmpty=!@sysconfdir@/zfs/zpool.cache 11ConditionPathIsDirectory=/sys/module/zfs 12 13[Service] 14Type=oneshot 15RemainAfterExit=yes 16EnvironmentFile=-@initconfdir@/zfs 17ExecStart=@sbindir@/zpool import -aN -o cachefile=none $ZPOOL_IMPORT_OPTS 18 19[Install] 20WantedBy=zfs-import.target 21