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