From fcc5fdc505c5e17a0a9dddf50e97602aba358a0e Mon Sep 17 00:00:00 2001 From: Peter Wagner <​tripolar@gmx.at> Date: Wed, 9 Nov 2011 17:02:55 +0000 Subject: [PATCH] [packages] 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 b2bb51db1a..619eb91604 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