Commit 13d30fb9 authored by Chris Lawrence's avatar Chris Lawrence Committed by Didier Raboud

lsb 3.0-5 Debian release.

parent 0d1b642a
lsb (3.0-5) unstable; urgency=low
* Use --exec in calls to start-stop-daemon in killproc(). (Closes: #322770)
-- Chris Lawrence <lawrencc@debian.org> Fri, 12 Aug 2005 15:18:39 -0500
lsb (3.0-4) unstable; urgency=medium
* Fix LIBC setting; add Alpha support. (Closes: #322316)
......
......@@ -113,12 +113,12 @@ killproc () {
if [ $2 ]; then
sig=$(echo $2 | sed -e 's/^-\(.*\)/\1/')
sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/')
/sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig --quiet
/sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig --quiet --exec "$1"
status="$?"
[ "$status" = 1 ] && return 3 # program is not running
return 0
else
/sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo
/sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --exec "$1"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment