From 2c53e92b9f0e35f520269837dd2b04d358a5585e Mon Sep 17 00:00:00 2001 From: Peter Wagner <​tripolar@gmx.at> Date: Wed, 9 Nov 2011 17:02:55 +0000 Subject: [PATCH] nfsd: only demonize and write pid for rpc.mountd SVN-Revision: 28884 --- net/nfs-kernel-server/files/nfsd.init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/nfs-kernel-server/files/nfsd.init b/net/nfs-kernel-server/files/nfsd.init index b2bb51db1..619eb9160 100644 --- a/net/nfs-kernel-server/files/nfsd.init +++ b/net/nfs-kernel-server/files/nfsd.init @@ -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 } -- 2.30.2