summaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/zfs-volume-wait.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/zfs-volume-wait.service.in')
-rw-r--r--etc/systemd/system/zfs-volume-wait.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/systemd/system/zfs-volume-wait.service.in b/etc/systemd/system/zfs-volume-wait.service.in
index 75bd9fcdd..4c77724d8 100644
--- a/etc/systemd/system/zfs-volume-wait.service.in
+++ b/etc/systemd/system/zfs-volume-wait.service.in
@@ -3,6 +3,7 @@ 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