[main]
@type = oneshot
@description = "nfs export service"
@user = ( root )
@depends = ( rpcbind nfs-modules nfs-mounts )
[start]
@build = auto
@execute = (
if { exportfs -ra }
rpc.nfsd -- 3)
[stop]
if { rpc.nfsd -- 0 }
exportfs -a )