From 7ac2c918e16fd63aa81c3aeb0e4870cded076bba Mon Sep 17 00:00:00 2001 From: chip Date: Fri, 14 Dec 2001 02:52:19 +0000 Subject: [PATCH 1/1] More changes in the same version: * Use --name instead of --exec when stopping daemons; the running binary may have been renamed or removed. --- debian/changelog | 2 +- debian/nfs-common.init | 4 ++-- debian/nfs-kernel-server.init | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 60cf766..0000c0e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,7 @@ nfs-utils (1:0.3.3-5) unstable; urgency=high * Keep NFS fully operational during upgrade. (closes: #76544) * When calling update-rc.d, send stdout to /dev/null, but not stderr. - -- Chip Salzenberg Thu, 13 Dec 2001 18:30:36 -0800 + -- Chip Salzenberg Thu, 13 Dec 2001 18:50:47 -0800 nfs-utils (1:0.3.3-4) unstable; urgency=high diff --git a/debian/nfs-common.init b/debian/nfs-common.init index 78edad1..31357bd 100755 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -48,11 +48,11 @@ case "$1" in then printf " lockd" start-stop-daemon --stop --oknodo --quiet \ - --exec $PREFIX/sbin/rpc.lockd + --name rpc.lockd --user 0 fi printf " statd" start-stop-daemon --stop --oknodo --quiet \ - --exec $PREFIX/sbin/rpc.statd + --name rpc.statd --user 0 echo "." ;; diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init index db04b53..548b5e0 100755 --- a/debian/nfs-kernel-server.init +++ b/debian/nfs-kernel-server.init @@ -49,10 +49,10 @@ case "$1" in stop) printf "Stopping $DESC: mountd" start-stop-daemon --stop --oknodo --quiet \ - --exec $PREFIX/sbin/rpc.mountd + --name rpc.mountd --user 0 printf " nfsd" start-stop-daemon --stop --oknodo --quiet \ - --name nfsd --user root --signal 2 + --name nfsd --user 0 --signal 2 echo "." printf "Unexporting directories for $DESC..." -- 2.39.2