use --retry=3 instead of --retry=TERM/30/KILL/5 in stop rule
This commit is contained in:
parent
e9f0418938
commit
46641422d6
|
@ -4,8 +4,9 @@ pcsc-lite (1.4.99-2) unstable; urgency=low
|
|||
usage
|
||||
* debian/pcscd.init
|
||||
- do not try to kill children since pcscd do not fork
|
||||
- use --retry=3 instead of --retry=TERM/30/KILL/5 in stop rule
|
||||
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 02 Feb 2008 17:39:16 +0100
|
||||
-- Ludovic Rousseau <rousseau@debian.org> Sat, 02 Feb 2008 17:42:05 +0100
|
||||
|
||||
pcsc-lite (1.4.99-1) unstable; urgency=low
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ do_stop()
|
|||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
|
||||
start-stop-daemon --stop --quiet --retry=3 --pidfile $PIDFILE --name $NAME
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue