]> git.proxmox.com Git - zfsonlinux.git/blob - debian/patches/0003-Fix-the-path-to-the-zed-binary-on-the-systemd-unit.patch
update submodule and patches for 2.2.0
[zfsonlinux.git] / debian / patches / 0003-Fix-the-path-to-the-zed-binary-on-the-systemd-unit.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Mon, 6 Feb 2017 12:04:35 +0100
4 Subject: [PATCH] Fix the path to the zed binary on the systemd unit.
5
6 We install zed into /usr/sbin manually meanwhile the upstream default is
7 installing it into /sbin. Ubuntu packages also install zed to /usr/sbin, but
8 they ship their own zfs-zed unit.
9
10 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 ---
12 etc/systemd/system/zfs-zed.service.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/etc/systemd/system/zfs-zed.service.in b/etc/systemd/system/zfs-zed.service.in
16 index be2fc6734..7606604ec 100644
17 --- a/etc/systemd/system/zfs-zed.service.in
18 +++ b/etc/systemd/system/zfs-zed.service.in
19 @@ -5,7 +5,7 @@ ConditionPathIsDirectory=/sys/module/zfs
20
21 [Service]
22 EnvironmentFile=-@initconfdir@/zfs
23 -ExecStart=@sbindir@/zed -F
24 +ExecStart=/usr/sbin/zed -F
25 Restart=always
26
27 [Install]