BTW,

@ -52,8 +52,8 @@
        ;;
   stop)
        echo -n "Stopping $DESC: "
-       if start-stop-daemon --stop --quiet --pidfile ${PIDFILE} \
-          --exec ${DAEMON} --retry 10 ; then
+       if start-stop-daemon --stop --quiet --oknodo --pidfile ${PIDFILE} \
+          --exec ${DAEMON} --signal TERM --retry 10; then
                echo "timidity."
        else
                echo "(failed)."

You should not use --exec with --stop; this prevents the init script from
working correctly if for any reason the daemon has been upgraded on disk
before --stop is called.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to