nfs-utils/nfs-server.service
Steve Dickson 45233d4087 Fixed some bugs in the triggerun script as well in the
nfs-server scripts (bz 699040).

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-10 17:58:42 -04:00

20 lines
551 B
Desktop File

[Unit]
Description=NFS Server
After=network.target rpcbind.service
[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/nfs
ExecStartPre=/usr/lib/nfs-utils/scripts/nfs-server.preconfig
ExecStartPre=-/usr/sbin/rpc.rquotad $RPCRQUOTADOPTS
ExecStartPre=/usr/sbin/exportfs -r
ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS ${RPCNFSDCOUNT}
ExecStartPost=/usr/sbin/rpc.mountd $RPCMOUNTDOPTS
ExecStartPost=-/usr/lib/nfs-utils/scripts/nfs-server.postconfig
ExecStop=/usr/sbin/rpc.nfsd 0
ExecStopPost=/usr/sbin/exportfs -f
[Install]
WantedBy=multi-user.target