xref: /freebsd/sys/contrib/openzfs/etc/systemd/system/zfs-share.service.in (revision b51f459a2098622c31ed54f5c1bf0e03efce403b)
1[Unit]
2Description=ZFS file system shares
3Documentation=man:zfs(8)
4After=nfs-server.service nfs-kernel-server.service
5After=smb.service
6Before=rpc-statd-notify.service
7Wants=zfs-mount.service
8After=zfs-mount.service
9PartOf=nfs-server.service nfs-kernel-server.service
10PartOf=smb.service
11ConditionPathIsDirectory=/sys/module/zfs
12
13[Service]
14Type=oneshot
15RemainAfterExit=yes
16ExecStart=@sbindir@/zfs share -a
17
18[Install]
19WantedBy=zfs.target
20