]> git.proxmox.com Git - mirror_zfs.git/blame - etc/systemd/system/zfs-import-cache.service.in
Wait in libzfs_init() for the /dev/zfs device
[mirror_zfs.git] / etc / systemd / system / zfs-import-cache.service.in
CommitLineData
881f45c6
RE
1[Unit]
2Description=Import ZFS pools by cache file
3DefaultDependencies=no
4Requires=systemd-udev-settle.service
5After=systemd-udev-settle.service
4f6a1479 6After=cryptsetup.target
881f45c6
RE
7ConditionPathExists=@sysconfdir@/zfs/zpool.cache
8
9[Service]
10Type=oneshot
11RemainAfterExit=yes
87abfcba 12ExecStart=/sbin/modprobe zfs && @sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN