lsb 3.0-5 Debian release.
authorChris Lawrence <lawrencc@debian.org>
Fri, 12 Aug 2005 20:18:39 +0000 (15:18 -0500)
committerDidier Raboud <odyx@debian.org>
Fri, 12 Aug 2005 20:18:39 +0000 (15:18 -0500)
debian/changelog
init-functions

index 307cc0abfa83b0bb8032a80f317c07d404b46005..aa18c473393f9e59fd9d9e26da8be373afe18d38 100644 (file)
@@ -1,3 +1,9 @@
+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)
index 72435cbfe911a65a38ff761648ef85015c15d62a..22cfb184a5d0abb5601ec0f71bd1a8818feffa78 100644 (file)
@@ -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
 }