lsb 3.0-10 Debian release.
authorChris Lawrence <lawrencc@debian.org>
Sun, 16 Oct 2005 19:35:38 +0000 (15:35 -0400)
committerDidier Raboud <odyx@debian.org>
Sun, 16 Oct 2005 19:35:38 +0000 (15:35 -0400)
debian/changelog
init-functions

index 8b1cf88b1a9c78d93249fa09241381f59729bb7b..a53d915a64267bcb3a851f49cd9048155625a207 100644 (file)
@@ -1,3 +1,9 @@
+lsb (3.0-10) unstable; urgency=low
+
+  * Use --name instead of --exec in killproc().  (Closes: #332744)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Sun, 16 Oct 2005 15:35:38 -0400
+
 lsb (3.0-9) unstable; urgency=low
 
   * Fix silly Pythonic else in init-functions.  (Closes: #329936)
index 2a138e738419acb32f382288de5b13bcc047c74c..35bcd551a9a9abb078614496d725a35df3f33cde 100644 (file)
@@ -112,12 +112,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 --exec "$1"
+        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig --quiet --name "$1"
         status="$?"
         [ "$status" = 1 ] && return 3 # program is not running
         return 0
     else
-        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --exec "$1"
+        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --name "$1"
     fi
 }