summaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/zfs-mount.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/zfs-mount.service.in')
-rw-r--r--etc/systemd/system/zfs-mount.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/systemd/system/zfs-mount.service.in b/etc/systemd/system/zfs-mount.service.in
index 6507c0765..e0d4bb37f 100644
--- a/etc/systemd/system/zfs-mount.service.in
+++ b/etc/systemd/system/zfs-mount.service.in
@@ -11,6 +11,7 @@ Before=systemd-random-seed.service
[Service]
Type=oneshot
RemainAfterExit=yes
+ExecCondition=/usr/bin/grep -q "^zfs " /proc/modules
ExecStart=@sbindir@/zfs mount -a
[Install]