xref: /freebsd/sys/contrib/openzfs/etc/systemd/system/zfs-share.service.in (revision fe6060f10f634930ff71b7c50291ddc610da2475)
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