allow service cloud stop to stop the java process

This commit is contained in:
Kevin Kluge 2010-12-10 15:23:46 -08:00
parent 0ab158909a
commit 3bd4b05d38
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ do
if [ $ex -eq 0 ] || [ $ex -eq 1 ] || [ $ex -eq 66 ] || [ $ex -gt 128 ]; then
# permanent errors
sleep 160
elif [ $ex -eq 143 ]; then
# service cloud stop causes exit with 143
exit $ex
fi
sleep 20
done