You can let the startscript do a kill -9 on the PID. It only has to know the 
correct PID. You can do it like this:

.
.
.
stop)
      echo -n "Stopping Tiny ERP Server"
      PIDNUMBER=`ps ax | grep "./tinyerp-server.py" | grep -v 
"grep" | cut -c -5`
      kill -9 $PIDNUMBER
      rm /var/run/tinyerp-server.pid
      echo "."
      ;;
.
.
.

HTH

knerz





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to