]>
Commit | Line | Data |
---|---|---|
881f45c6 RE |
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 | |
4f6a1479 | 6 | After=cryptsetup.target |
881f45c6 RE |
7 | ConditionPathExists=@sysconfdir@/zfs/zpool.cache |
8 | ||
9 | [Service] | |
10 | Type=oneshot | |
11 | RemainAfterExit=yes | |
544f7184 BB |
12 | ExecStartPre=/sbin/modprobe zfs |
13 | ExecStart=@sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN |