From 5f33fd2167434160a56986c197cf5116468894db Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Fri, 4 Oct 2024 12:21:28 +0500 Subject: [PATCH] Update path for zed in zfs-zed.service for native debian packages Signed-off-by: Umer Saleem Closes#15638 --- contrib/debian/rules.in | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/debian/rules.in b/contrib/debian/rules.in index 9c6245b82c4..c1066f1d5a9 100755 --- a/contrib/debian/rules.in +++ b/contrib/debian/rules.in @@ -88,6 +88,7 @@ override_dh_auto_install: @# Zed has dependencies outside of the system root. mv '$(CURDIR)/debian/tmp/sbin/zed' '$(CURDIR)/debian/tmp/usr/sbin/zed' + sed -i 's|ExecStart=/sbin/|ExecStart=/usr/sbin/|g' '$(CURDIR)/debian/tmp/lib/systemd/system/zfs-zed.service' @# Install the DKMS source. @# We only want the files needed to build the modules