0082850883
Signed-off-by: Steve Dickson <steved@redhat.com>
23 lines
653 B
Desktop File
23 lines
653 B
Desktop File
[Unit]
|
|
Description=NFS Server
|
|
Requires=proc-fs-nfsd.mount var-lib-nfs-rpc_pipefs.mount rpcbind.service
|
|
Requires=nfs-idmap.service nfs-mountd.service nfs-rquotad.service
|
|
After=network.target named.service
|
|
Names=nfs.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
StandardError=syslog+console
|
|
EnvironmentFile=-/etc/sysconfig/nfs
|
|
ExecStartPre=/usr/lib/nfs-utils/scripts/nfs-server.preconfig
|
|
ExecStartPre=/usr/sbin/exportfs -r
|
|
ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS ${RPCNFSDCOUNT}
|
|
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
|
|
|