2019-03-07 20:03:53 +03:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
2019-01-30 17:26:24 +03:00
|
|
|
Date: Mon, 6 Feb 2017 12:04:35 +0100
|
2019-03-07 20:03:53 +03:00
|
|
|
Subject: [PATCH] Fix the path to the zed binary on the systemd unit.
|
2019-01-30 17:26:24 +03:00
|
|
|
|
|
|
|
We install zed into /usr/sbin manually meanwhile the upstream default is
|
|
|
|
installing it into /sbin. Ubuntu packages also install zed to /usr/sbin, but
|
|
|
|
they ship their own zfs-zed unit.
|
2019-09-28 09:12:00 +03:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
2019-01-30 17:26:24 +03:00
|
|
|
---
|
|
|
|
etc/systemd/system/zfs-zed.service.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/etc/systemd/system/zfs-zed.service.in b/etc/systemd/system/zfs-zed.service.in
|
2023-10-15 13:08:06 +03:00
|
|
|
index be2fc6734..7606604ec 100644
|
2019-01-30 17:26:24 +03:00
|
|
|
--- a/etc/systemd/system/zfs-zed.service.in
|
|
|
|
+++ b/etc/systemd/system/zfs-zed.service.in
|
2023-10-15 13:08:06 +03:00
|
|
|
@@ -5,7 +5,7 @@ ConditionPathIsDirectory=/sys/module/zfs
|
2019-01-30 17:26:24 +03:00
|
|
|
|
|
|
|
[Service]
|
2023-10-15 13:08:06 +03:00
|
|
|
EnvironmentFile=-@initconfdir@/zfs
|
2019-01-30 17:26:24 +03:00
|
|
|
-ExecStart=@sbindir@/zed -F
|
|
|
|
+ExecStart=/usr/sbin/zed -F
|
2023-01-26 14:06:02 +03:00
|
|
|
Restart=always
|
2019-01-30 17:26:24 +03:00
|
|
|
|
|
|
|
[Install]
|