tags 608812 - moreinfo + patch
thanks

Bob Proulx wrote:
> I believe the best corrective action is to ensure in the init script
> file /etc/init.d/muroard that start-stop-daemon ensures that the
> process has actually exited before the script exits.  Currently it
> does:
> 
>   start-stop-daemon --stop --pidfile /var/run/muroard.pid --user muroard 
> --exec /usr/bin/muroard || true

I propose the following change to /etc/init.d/muroard to correct this
problem.  Add the following options to start-stop-daemon.

  --retry 30 --oknodo --quiet

I propose that the script change this way:

  stop|terminate|shutdown)
        echo -n "Stopping $DESC: "
-        start-stop-daemon --stop $SSD_OPTS || true
+        start-stop-daemon --stop --retry 30 --oknodo --quiet $SSD_OPTS
        echo "$NAME."
        ;;

I tested that through several iterations and I believe it is the best
solution to the problem.

Thanks!
Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to