[Unit]
Description=Wait for ZFS Volume (zvol) links in /dev
DefaultDependencies=no
After=zfs-import.target
ConditionPathIsDirectory=/sys/module/zfs

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-@initconfdir@/zfs
ExecStart=@bindir@/zvol_wait

[Install]
WantedBy=zfs-volumes.target
