2014-01-19 14:36:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Import ZFS pools by device scanning
|
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=systemd-udev-settle.service
|
|
|
|
After=systemd-udev-settle.service
|
2014-07-26 16:45:15 +00:00
|
|
|
After=cryptsetup.target
|
2016-04-24 11:35:44 +00:00
|
|
|
Before=dracut-mount.service
|
2017-10-30 20:18:26 +00:00
|
|
|
Before=zfs-import.target
|
2014-01-19 14:36:49 +00:00
|
|
|
ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2015-05-26 21:06:36 +00:00
|
|
|
ExecStartPre=/sbin/modprobe zfs
|
2016-05-25 17:48:12 +00:00
|
|
|
ExecStart=@sbindir@/zpool import -aN -o cachefile=none
|
|
|
|
|
|
|
|
[Install]
|
2017-10-30 20:18:26 +00:00
|
|
|
WantedBy=zfs-import.target
|