totally my fault, I didn“t notice this issue before. Using killall is
bad as it would kill also the init script itself. This patch address the
problem.
Fabio
Index: init/generic.in
===================================================================
--- init/generic.in (revision 2554)
+++ init/generic.in (working copy)
@@ -93,8 +93,10 @@
stop()
{
+ ! status $prog > /dev/null 2>&1 && return
+
echo -n "Signaling $desc ($prog) to terminate: "
- killall -TERM $prog > /dev/null 2>&1
+ kill -TERM $(pidof $prog) > /dev/null 2>&1
success
echo
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais