flush: only detect lack of flush support in one place
[zfs.git] / etc / systemd / system / zfs-volume-wait.service.in
blob110c0f5f52ee7190dcd32284f9d5b3ebb513fe36
1 [Unit]
2 Description=Wait for ZFS Volume (zvol) links in /dev
3 DefaultDependencies=no
4 After=systemd-udev-settle.service
5 After=zfs-import.target
6 ConditionPathIsDirectory=/sys/module/zfs
8 [Service]
9 Type=oneshot
10 RemainAfterExit=yes
11 EnvironmentFile=-@initconfdir@/zfs
12 ExecStart=@bindir@/zvol_wait
14 [Install]
15 WantedBy=zfs-volumes.target