summaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/zfs-share.service.in
blob: c27bbf903ecbe7afac20f5a8ca05200cbb7149e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=ZFS file system shares
After=nfs-server.service
After=smb.service
After=zfs-mount.service
Requires=zfs-mount.service
PartOf=nfs-server.service
PartOf=smb.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=-@bindir@/rm /etc/dfs/sharetab
ExecStart=@sbindir@/zfs share -a