From: Adam Dickmeiss Date: Thu, 28 Jan 2010 11:34:56 +0000 (+0100) Subject: start-stop-daemon: stop using PID only X-Git-Tag: v1.1.1 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=82b7a4b2417637a9ea05f21ba234d8388b8edad9;p=metaproxy-moved-to-github.git start-stop-daemon: stop using PID only --- 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"