summaryrefslogtreecommitdiffstats
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.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/systemd/system/zfs-zed.service.in b/etc/systemd/system/zfs-zed.service.in
new file mode 100644
index 000000000..4d4c9d841
--- /dev/null
+++ b/etc/systemd/system/zfs-zed.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=ZFS Event Daemon (zed)
+Documentation=man:zed(8)
+After=zfs-import-cache.service
+After=zfs-import-scan.service
+
+[Service]
+ExecStart=@sbindir@/zed -F
+Restart=on-abort
+
+[Install]
+Alias=zed.service