2014-01-19 14:36:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=ZFS file system shares
|
2017-09-05 20:50:35 +00:00
|
|
|
Documentation=man:zfs(8)
|
2016-02-19 18:20:55 +00:00
|
|
|
After=nfs-server.service nfs-kernel-server.service
|
2014-01-19 14:36:49 +00:00
|
|
|
After=smb.service
|
2017-11-08 17:39:15 +00:00
|
|
|
Wants=zfs-mount.service
|
2016-02-19 18:20:55 +00:00
|
|
|
PartOf=nfs-server.service nfs-kernel-server.service
|
2014-01-19 14:36:49 +00:00
|
|
|
PartOf=smb.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2017-01-13 21:24:17 +00:00
|
|
|
ExecStartPre=-/bin/rm -f /etc/dfs/sharetab
|
2014-01-19 14:36:49 +00:00
|
|
|
ExecStart=@sbindir@/zfs share -a
|
2016-05-25 17:48:12 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=zfs.target
|