mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
b2a54a28b5
Extend the change made in ae12b02
to verify the zfs kernel
modules are loaded to the rest of the OpenZFS services. If
the modules aren't loaded the neither the share, volume, or
and zed services can be started.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11243
15 lines
294 B
SYSTEMD
15 lines
294 B
SYSTEMD
[Unit]
|
|
Description=Wait for ZFS Volume (zvol) links in /dev
|
|
DefaultDependencies=no
|
|
After=systemd-udev-settle.service
|
|
After=zfs-import.target
|
|
ConditionPathIsDirectory=/sys/module/zfs
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@bindir@/zvol_wait
|
|
|
|
[Install]
|
|
WantedBy=zfs-volumes.target
|