From 82b7a4b2417637a9ea05f21ba234d8388b8edad9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 28 Jan 2010 12:34:56 +0100 Subject: [PATCH] start-stop-daemon: stop using PID only --- debian/metaproxy.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/metaproxy.init b/debian/metaproxy.init index 2d19055..90f558b 100644 --- a/debian/metaproxy.init +++ b/debian/metaproxy.init @@ -70,8 +70,8 @@ do_stop() # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. - start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON - [ "$?" = 2 ] && return 2 + #start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + #[ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE return "$RETVAL" -- 1.7.10.4