summaryrefslogtreecommitdiffstats
path: root/etc/systemd/system
diff options
context:
space:
mode:
authorDan Swartzendruber <[email protected]>2014-11-13 14:49:51 -0500
committerBrian Behlendorf <[email protected]>2014-11-19 10:33:07 -0800
commit80c50365c21ea98ae78150f32c3f35e075815c44 (patch)
tree39279652a3c822157b3b813e0f6b3c862f22f8ad /etc/systemd/system
parent29b763cd2c13e355b60fa095a6f20cf8a38f8651 (diff)
Fix systemd config for zfs-share.service
The zfs-share.service rule needs to be modified to ensure that it does not execute before zfs-mount.service. Signed-off-by: Dan Swartzendruber <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Ralf Ertzinger <[email protected]> Closes #2893
Diffstat (limited to 'etc/systemd/system')
-rw-r--r--etc/systemd/system/zfs-share.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/systemd/system/zfs-share.service.in b/etc/systemd/system/zfs-share.service.in
index a21c9c663..d62e3407c 100644
--- a/etc/systemd/system/zfs-share.service.in
+++ b/etc/systemd/system/zfs-share.service.in
@@ -2,6 +2,8 @@
Description=ZFS file system shares
After=nfs-server.service
After=smb.service
+After=zfs-mount.service
+Requires=zfs-mount.service
PartOf=nfs-server.service
PartOf=smb.service