Viitor_nfs-utils/etc/init/nfs.conf
kueller ffc12800b5 PIDFile korrektur mit CheckPid eingebaut. Start und stop der daemons
in nfs und statd aufgeteilt. zuverlaessiges stoppen sichergestellt



git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_nfs-utils@6202 504e572c-2e33-0410-9681-be2bf7408885
2011-08-19 07:34:48 +00:00

22 lines
408 B
Plaintext

description "Startup NFS Services"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started rpc))
stop on runlevel [016]
console none
post-start script
/usr/sbin/exportfs -r
/usr/sbin/rpc.knfsd 8
end script
exec /usr/sbin/rpc.kmountd -F --nfs-version 3
post-stop script
/usr/sbin/rpc.knfsd 0
/usr/sbin/exportfs -au
end script