do not try to kill children since pcscd do not fork

This commit is contained in:
Ludovic Rousseau 2008-02-02 16:39:53 +00:00
parent 76516bf2e0
commit e9f0418938
2 changed files with 3 additions and 12 deletions

View File

@ -2,8 +2,10 @@ pcsc-lite (1.4.99-2) unstable; urgency=low
* debian/pcscd.init: include /etc/default/pcscd if present and document its
usage
* debian/pcscd.init
- do not try to kill children since pcscd do not fork
-- Ludovic Rousseau <rousseau@debian.org> Sun, 20 Jan 2008 15:21:12 +0100
-- Ludovic Rousseau <rousseau@debian.org> Sat, 02 Feb 2008 17:39:16 +0100
pcsc-lite (1.4.99-1) unstable; urgency=low

View File

@ -85,17 +85,6 @@ do_stop()
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
# and if the daemon is only ever run from this initscript.
# If the above conditions are not satisfied then add some other code
# that waits for the process to drop all resources that could be
# needed by services started subsequently. A last resort is to
# sleep for some time.
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.
rm -f $PIDFILE
return "$RETVAL"
}
#