Package: nodm
Version: 0.10-1
Severity: important
Tags: patch

`/etc/init.d/nodm stop` returns before it has actually stopped, so a
subsequent call to 'start' will non-deterministically fail.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org
       `-
diff --git a/debian/nodm.init b/debian/nodm.init
index 1b8bb6e..83f033d 100644
--- a/debian/nodm.init
+++ b/debian/nodm.init
@@ -60,7 +60,7 @@ case "$1" in
                ;;
        stop)
                [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
-               start-stop-daemon --stop --pidfile ${PIDFILE} --oknodo
+               start-stop-daemon --stop --retry 10 --pidfile ${PIDFILE} 
--oknodo
                rm -f ${PIDFILE}
                [ "$VERBOSE" != no ] && log_end_msg $?
                ;;

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fso-maint

Reply via email to