]>
Commit | Line | Data |
---|---|---|
51d97d8f TG |
1 | [Unit] |
2 | Description=Import ZFS pools by cache file | |
3 | DefaultDependencies=no | |
4 | Requires=systemd-udev-settle.service | |
5 | After=systemd-udev-settle.service | |
6 | After=cryptsetup.target | |
7 | After=systemd-remount-fs.service | |
8 | Before=dracut-mount.service | |
9 | ConditionPathExists=@sysconfdir@/zfs/zpool.cache | |
10 | ||
11 | [Service] | |
12 | Type=oneshot | |
13 | RemainAfterExit=yes | |
14 | ExecStartPre=/sbin/modprobe zfs | |
15 | ExecStart=@sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN | |
16 | ||
17 | [Install] | |
18 | WantedBy=zfs-mount.service | |
19 | WantedBy=zfs.target |