]> git.proxmox.com Git - mirror_zfs-debian.git/blob - debian/patches/1004-zed-service-bindir.patch
d/rules: include dpkg's default.mk
[mirror_zfs-debian.git] / debian / patches / 1004-zed-service-bindir.patch
1 Description: Fix the path to the zed binary on the systemd unit.
2 We install zed into /usr/sbin manually meanwhile the upstream default
3 is installing it into /sbin.
4 Ubuntu packages also install zed to /usr/sbin, but they ship their own
5 zfs-zed unit.
6 Author: Carlos Alberto Lopez <clopez@igalia.com>
7 Author: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 Bug-Debian: https://bugs.debian.org/849813
9 Forwarded: no
10 --- a/etc/systemd/system/zfs-zed.service.in
11 +++ b/etc/systemd/system/zfs-zed.service.in
12 @@ -5,7 +5,7 @@ After=zfs-import-cache.service
13 After=zfs-import-scan.service
14
15 [Service]
16 -ExecStart=@sbindir@/zed -F
17 +ExecStart=/usr/sbin/zed -F
18 Restart=on-abort
19
20 [Install]