Package: zephyr-clients
Version: 2.1.20070719.SNAPSHOT-1
Tags: patch

The zephyr-clients init script /etc/init.d/zhm calls start-stop-daemon using --exec when stopping zhm, which fails to actually stop the zhm process.

        -Tim Abbott
diff -ur zephyr-2.1.20070719.SNAPSHOT.orig/debian/zephyr-clients.init zephyr-2.1.20070719.SNAPSHOT/debian/zephyr-clients.init
--- zephyr-2.1.20070719.SNAPSHOT.orig/debian/zephyr-clients.init	2007-10-29 08:48:06.000000000 +0000
+++ zephyr-2.1.20070719.SNAPSHOT/debian/zephyr-clients.init	2007-10-29 08:49:11.398043033 +0000
@@ -35,7 +35,7 @@
   stop)
 	echo -n "Stopping $DESC: "
 	start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
-		--exec $DAEMON
+		--name $NAME
 	echo "$NAME."
 	;;
   restart|force-reload)
@@ -46,7 +46,7 @@
 	#
 	echo -n "Restarting $DESC: "
 	start-stop-daemon --oknodo --stop --retry 5 --quiet --pidfile \
-		/var/run/$NAME.pid --exec $DAEMON
+		/var/run/$NAME.pid --name $NAME
 	start-stop-daemon --start --quiet --pidfile \
 		/var/run/$NAME.pid --exec $DAEMON -- -N $zhm_args
 	echo "$NAME."

Reply via email to