]> git.proxmox.com Git - zfsonlinux.git/blob - zfs/debian/patches/0007-zed-service-bindir.patch
update ZFS to 0.7.13
[zfsonlinux.git] / zfs / debian / patches / 0007-zed-service-bindir.patch
1 From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
2 Date: Mon, 6 Feb 2017 12:04:35 +0100
3 Subject: Fix the path to the zed binary on the systemd unit.
4
5 We install zed into /usr/sbin manually meanwhile the upstream default is
6 installing it into /sbin. Ubuntu packages also install zed to /usr/sbin, but
7 they 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
12 diff --git a/etc/systemd/system/zfs-zed.service.in b/etc/systemd/system/zfs-zed.service.in
13 index 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]