From 45addf760532a346d36b759801b2fda427f7be4a 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 Reviewed-by: Brian Behlendorf 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 1cca75d7b..3226d6045 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