packages: pcsc-lite/pcsc-lite-pcscd.init - pidfile

glen glen at pld-linux.org
Wed Jan 12 01:33:01 CET 2011


Author: glen                         Date: Wed Jan 12 00:33:01 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pidfile

---- Files affected:
packages/pcsc-lite:
   pcsc-lite-pcscd.init (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/pcsc-lite/pcsc-lite-pcscd.init
diff -u packages/pcsc-lite/pcsc-lite-pcscd.init:1.14 packages/pcsc-lite/pcsc-lite-pcscd.init:1.15
--- packages/pcsc-lite/pcsc-lite-pcscd.init:1.14	Wed Jan 12 01:23:06 2011
+++ packages/pcsc-lite/pcsc-lite-pcscd.init	Wed Jan 12 01:32:56 2011
@@ -29,6 +29,8 @@
 # Get service config - may override defaults
 [ -f /etc/sysconfig/pcscd ] && . /etc/sysconfig/pcscd
 
+pidfile=/var/run/pcscd/pcscd.pid
+
 start() {
 	if [ -f /var/lock/subsys/pcscd ]; then
 		msg_already_running "PC/SC smart card daemon"
@@ -55,7 +57,7 @@
 	fi
 
 	msg_stopping "PC/SC smart card daemon"
-	killproc pcscd
+	killproc --pidfile $pidfile pcscd
 	rm -f /var/lock/subsys/pcscd
 }
 
@@ -91,7 +93,7 @@
 	condrestart 7
 	;;
   status)
-	status pcscd
+	status --pidfile $pidfile pcscd
 	RETVAL=$?
 	;;
   *)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pcsc-lite/pcsc-lite-pcscd.init?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list