]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - zfs/etc/systemd/system/zfs-import-cache.service.in
UBUNTU: SAUCE: Update zfs to e02aaf17f15ad274fa1f24c9c826f1477911ea3f
[mirror_ubuntu-zesty-kernel.git] / zfs / etc / systemd / system / zfs-import-cache.service.in
CommitLineData
51d97d8f
TG
1[Unit]
2Description=Import ZFS pools by cache file
3DefaultDependencies=no
4Requires=systemd-udev-settle.service
5After=systemd-udev-settle.service
6After=cryptsetup.target
7After=systemd-remount-fs.service
8Before=dracut-mount.service
9ConditionPathExists=@sysconfdir@/zfs/zpool.cache
10
11[Service]
12Type=oneshot
13RemainAfterExit=yes
14ExecStartPre=/sbin/modprobe zfs
15ExecStart=@sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN
16
17[Install]
18WantedBy=zfs-mount.service
19WantedBy=zfs.target