]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
fix rm path in zfs-share.service
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 14 Jul 2017 08:32:02 +0000 (16:32 +0800)
committerAron Xu <aron@debian.org>
Fri, 14 Jul 2017 08:32:02 +0000 (16:32 +0800)
debian/patches/1003-fix-rm-path-in-zfs-share.service.patch [new file with mode: 0644]

diff --git a/debian/patches/1003-fix-rm-path-in-zfs-share.service.patch b/debian/patches/1003-fix-rm-path-in-zfs-share.service.patch
new file mode 100644 (file)
index 0000000..2e1bde2
--- /dev/null
@@ -0,0 +1,29 @@
+From 190dfc116dfa539a8e1e40c120e4b961c986c2ea Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
+Date: Thu, 27 Oct 2016 10:18:55 +0200
+Subject: [PATCH] fix rm path in zfs-share.service
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ etc/systemd/system/zfs-share.service.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/etc/systemd/system/zfs-share.service.in b/etc/systemd/system/zfs-share.service.in
+index 688731e..494f5cb 100644
+--- a/etc/systemd/system/zfs-share.service.in
++++ b/etc/systemd/system/zfs-share.service.in
+@@ -9,7 +9,7 @@ PartOf=smb.service
+ [Service]
+ Type=oneshot
+ RemainAfterExit=yes
+-ExecStartPre=-@bindir@/rm -f /etc/dfs/sharetab
++ExecStartPre=-/bin/rm -f /etc/dfs/sharetab
+ ExecStart=@sbindir@/zfs share -a
+ [Install]
+-- 
+2.1.4
+