aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/zfs-zed.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/zfs-zed.service.in')
-rw-r--r--etc/systemd/system/zfs-zed.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/systemd/system/zfs-zed.service.in b/etc/systemd/system/zfs-zed.service.in
index f4313625e..008075138 100644
--- a/etc/systemd/system/zfs-zed.service.in
+++ b/etc/systemd/system/zfs-zed.service.in
@@ -1,6 +1,7 @@
[Unit]
Description=ZFS Event Daemon (zed)
Documentation=man:zed(8)
+ConditionPathIsDirectory=/sys/module/zfs
[Service]
ExecStart=@sbindir@/zed -F