[packages] nfsd: only demonize and write pid for rpc.mountd
authorPeter Wagner <​tripolar@gmx.at>
Wed, 9 Nov 2011 17:02:55 +0000 (17:02 +0000)
committerPeter Wagner <​tripolar@gmx.at>
Wed, 9 Nov 2011 17:02:55 +0000 (17:02 +0000)
SVN-Revision: 28884

net/nfs-kernel-server/files/nfsd.init

index b2bb51db1aa6defd5ea34bb066c12303f55538ed..619eb91604c89fbb810b1e699bec3154614ac95d 100644 (file)
@@ -4,8 +4,7 @@
 START=60
 STOP=60
 
-SERVICE_DAEMONIZE=1
-SERVICE_WRITE_PID=1
+SERVICE_USE_PID=1
 
 NFS_D=/var/lib/nfs
 LOCK_D=/var/lib/nfs/sm
@@ -21,6 +20,8 @@ start() {
        service_start /usr/sbin/rpc.statd -p 32778 -o 32779
        /usr/sbin/exportfs -r
        /usr/sbin/rpc.nfsd
+       SERVICE_WRITE_PID=1 \
+       SERVICE_DAEMONIZE=1 \
        service_start /usr/sbin/rpc.mountd -p 32780 -F
 }