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