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
`. `'` [email protected]
`-
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 $?
;;
signature.asc
Description: PGP signature

