]>
Commit | Line | Data |
---|---|---|
881f45c6 RE |
1 | [Unit] |
2 | Description=Import ZFS pools by device scanning | |
c8811dec | 3 | Documentation=man:zpool(8) |
881f45c6 RE |
4 | DefaultDependencies=no |
5 | Requires=systemd-udev-settle.service | |
6 | After=systemd-udev-settle.service | |
4f6a1479 | 7 | After=cryptsetup.target |
99c0479a | 8 | After=multipathd.service |
5c2552c5 | 9 | Before=zfs-import.target |
7c64ee9e | 10 | ConditionFileNotEmpty=!@sysconfdir@/zfs/zpool.cache |
f1de1600 | 11 | ConditionPathIsDirectory=/sys/module/zfs |
881f45c6 RE |
12 | |
13 | [Service] | |
14 | Type=oneshot | |
15 | RemainAfterExit=yes | |
ccdcc1db | 16 | EnvironmentFile=-@initconfdir@/zfs |
79b20949 | 17 | ExecStart=zpool import -aN -o cachefile=none $ZPOOL_IMPORT_OPTS |
92547bc4 BB |
18 | |
19 | [Install] | |
5c2552c5 | 20 | WantedBy=zfs-import.target |