[packages/gnscd] - update pidfile path

glen glen at pld-linux.org
Tue Sep 4 21:50:18 CEST 2012


commit 34046ba66fcd9a70095406b47c84f7a933e63d69
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 4 22:50:09 2012 +0300

    - update pidfile path

 gnscd.spec | 2 +-
 nscd.init  | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gnscd.spec b/gnscd.spec
index 6a9550d..1fadfdf 100644
--- a/gnscd.spec
+++ b/gnscd.spec
@@ -31,7 +31,7 @@ Requires(pre):	/bin/id
 Requires(pre):	/usr/bin/getgid
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
-Requires:	rc-scripts >= 0.2.0
+Requires:	rc-scripts >= 0.4.1.26
 Provides:	user(nscd)
 Obsoletes:	nscd
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/nscd.init b/nscd.init
index 816ba8c..5a88802 100755
--- a/nscd.init
+++ b/nscd.init
@@ -9,6 +9,7 @@
 #		slow Services like NIS or NIS+
 # processname:	nscd
 # config:	/etc/nscd.conf
+# pidfile: /var/run/gnscd.pid
 #
 
 # Sanity checks.
@@ -79,7 +80,7 @@ case "$1" in
 	condrestart 7
 	;;
   status)
-	status nscd
+	status --pidfile /var/run/gnscd.pid nscd
 	exit $?
 	;;
   *)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnscd.git/commitdiff/34046ba66fcd9a70095406b47c84f7a933e63d69



More information about the pld-cvs-commit mailing list