]> git.proxmox.com Git - mirror_zfs-debian.git/blame - etc/systemd/system/zfs-import-cache.service.in
Imported Upstream version 0.6.5.8
[mirror_zfs-debian.git] / etc / systemd / system / zfs-import-cache.service.in
CommitLineData
ea04106b
AX
1[Unit]
2Description=Import ZFS pools by cache file
3DefaultDependencies=no
4Requires=systemd-udev-settle.service
5After=systemd-udev-settle.service
6After=cryptsetup.target
87dac73d 7After=systemd-remount-fs.service
ea04106b
AX
8ConditionPathExists=@sysconfdir@/zfs/zpool.cache
9
10[Service]
11Type=oneshot
12RemainAfterExit=yes
13ExecStartPre=/sbin/modprobe zfs
14ExecStart=@sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN
87dac73d
AX
15
16[Install]
17WantedBy=zfs-mount.service
18WantedBy=zfs.target