]> git.proxmox.com Git - zfsonlinux.git/blame - zfs/debian/patches/0007-zed-service-bindir.patch
update ZFS to 0.7.13
[zfsonlinux.git] / zfs / debian / patches / 0007-zed-service-bindir.patch
CommitLineData
28f635be
FG
1From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
2Date: Mon, 6 Feb 2017 12:04:35 +0100
3Subject: Fix the path to the zed binary on the systemd unit.
4
5We install zed into /usr/sbin manually meanwhile the upstream default is
6installing it into /sbin. Ubuntu packages also install zed to /usr/sbin, but
7they ship their own zfs-zed unit.
8---
9 etc/systemd/system/zfs-zed.service.in | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/etc/systemd/system/zfs-zed.service.in b/etc/systemd/system/zfs-zed.service.in
13index e3dec3d..0b85f16 100644
14--- a/etc/systemd/system/zfs-zed.service.in
15+++ b/etc/systemd/system/zfs-zed.service.in
16@@ -5,7 +5,7 @@ After=zfs-import-cache.service
17 After=zfs-import-scan.service
18
19 [Service]
20-ExecStart=@sbindir@/zed -F
21+ExecStart=/usr/sbin/zed -F
22 Restart=on-abort
23
24 [Install]