2014-01-19 14:36:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Import ZFS pools by device scanning
|
2017-09-05 20:50:35 +00:00
|
|
|
Documentation=man:zpool(8)
|
2014-01-19 14:36:49 +00:00
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=systemd-udev-settle.service
|
|
|
|
After=systemd-udev-settle.service
|
2014-07-26 16:45:15 +00:00
|
|
|
After=cryptsetup.target
|
2020-01-22 20:45:25 +00:00
|
|
|
After=multipathd.target
|
2017-10-30 20:18:26 +00:00
|
|
|
Before=zfs-import.target
|
2021-02-05 19:25:22 +00:00
|
|
|
ConditionFileNotEmpty=!@sysconfdir@/zfs/zpool.cache
|
2020-08-02 00:13:15 +00:00
|
|
|
ConditionPathIsDirectory=/sys/module/zfs
|
2014-01-19 14:36:49 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
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
|