[Unit]
Description=Install ZFS kernel module
DefaultDependencies=no
Requires=systemd-udev-settle.service
After=systemd-udev-settle.service
After=cryptsetup.target
Before=dracut-mount.service
After=systemd-remount-fs.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/modprobe zfs

[Install]
WantedBy=zfs-mount.service
WantedBy=zfs.target
