# NFS server — runs nfsd + mountd. Wraps the upstream nfs-server
# method script. Off by default; enable to share filesystems via NFS.
# Replaces /lib/svc/manifest/network/nfs/server.xml.
[service]
name = "nfs-server"
description = "NFS server (nfsd + mountd)"
type = "daemon"
[exec]
start = "/lib/svc/method/nfs-server start"
stop  = "/lib/svc/method/nfs-server stop"
[dependencies]
requires = ["network", "nfs-mapid", "nfs-statd", "nfs-lockd"]
[restart]
on = "failure"
delay = 5
max_retries = 3
[contract]
param = ["inherit", "noorphan"]
fatal = ["hwerr"]
