2014-01-19 18:36:49 +04:00
|
|
|
[Unit]
|
|
|
|
Description=ZFS file system shares
|
2017-09-05 23:50:35 +03:00
|
|
|
Documentation=man:zfs(8)
|
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
|
2019-02-16 01:40:16 +03:00
|
|
|
Before=rpc-statd-notify.service
|
2017-11-08 20:39:15 +03:00
|
|
|
Wants=zfs-mount.service
|
2019-07-29 04:13:56 +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
|
2020-11-28 22:11:18 +03:00
|
|
|
ConditionPathIsDirectory=/sys/module/zfs
|
2014-01-19 18:36:49 +04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=@sbindir@/zfs share -a
|
2016-05-25 20:48:12 +03:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=zfs.target
|