2014-01-19 15:36:49 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Import ZFS pools by device scanning
|
2017-09-05 22:50:35 +02:00
|
|
|
Documentation=man:zpool(8)
|
2014-01-19 15:36:49 +01:00
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=systemd-udev-settle.service
|
|
|
|
After=systemd-udev-settle.service
|
2014-07-26 18:45:15 +02:00
|
|
|
After=cryptsetup.target
|
2017-10-30 16:18:26 -04:00
|
|
|
Before=zfs-import.target
|
2014-01-19 15:36:49 +01:00
|
|
|
ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2016-05-25 10:48:12 -07:00
|
|
|
ExecStart=@sbindir@/zpool import -aN -o cachefile=none
|
|
|
|
|
|
|
|
[Install]
|
2017-10-30 16:18:26 -04:00
|
|
|
WantedBy=zfs-import.target
|