mirror of https://github.com/apache/cloudstack.git
allow service cloud stop to stop the java process
This commit is contained in:
parent
0ab158909a
commit
3bd4b05d38
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue