diff options
-rw-r--r-- | etc/systemd/system/zfs-share.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/systemd/system/zfs-share.service.in b/etc/systemd/system/zfs-share.service.in index d62e3407c..c27bbf903 100644 --- a/etc/systemd/system/zfs-share.service.in +++ b/etc/systemd/system/zfs-share.service.in @@ -10,4 +10,5 @@ PartOf=smb.service [Service] Type=oneshot RemainAfterExit=yes +ExecStartPre=-@bindir@/rm /etc/dfs/sharetab ExecStart=@sbindir@/zfs share -a |