2014-01-19 18:36:49 +04:00
|
|
|
[Unit]
|
|
|
|
Description=ZFS file system shares
|
2016-02-19 21:20:55 +03:00
|
|
|
After=nfs-server.service nfs-kernel-server.service
|
2014-01-19 18:36:49 +04:00
|
|
|
After=smb.service
|
2014-11-13 22:49:51 +03:00
|
|
|
After=zfs-mount.service
|
2016-02-19 21:20:55 +03:00
|
|
|
PartOf=nfs-server.service nfs-kernel-server.service
|
2014-01-19 18:36:49 +04:00
|
|
|
PartOf=smb.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2016-05-25 20:48:12 +03:00
|
|
|
ExecStartPre=-@bindir@/rm -f /etc/dfs/sharetab
|
2014-01-19 18:36:49 +04:00
|
|
|
ExecStart=@sbindir@/zfs share -a
|
2016-05-25 20:48:12 +03:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=zfs.target
|