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 16EnvironmentFile=-@initconfdir@/zfs 17ExecStart=@sbindir@/zfs share -a 18 19[Install] 20WantedBy=zfs.target 21