2014-01-19 15:36:49 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Import ZFS pools by device scanning
|
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=systemd-udev-settle.service
|
|
|
|
After=systemd-udev-settle.service
|
2014-07-26 18:45:15 +02:00
|
|
|
After=cryptsetup.target
|
2014-01-19 15:36:49 +01:00
|
|
|
ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2015-05-26 14:06:36 -07:00
|
|
|
ExecStartPre=/sbin/modprobe zfs
|
|
|
|
ExecStart=@sbindir@/zpool import -d /dev/disk/by-id -aN
|