keep only one instance of reader.lua

in case the reader crashed without cleaning up the forked subprocess lipc-wait-event
This commit is contained in:
Huang Xin
2013-07-11 23:47:36 +08:00
parent 9cb9999865
commit fa9713cceb

View File

@@ -35,6 +35,9 @@ fi
# stop cvm
#killall -stop cvm
# keep only one instance of reader
killall reader.lua
# finally call reader
./reader.lua "$1" 2> crash.log