echo "waiting 15s for checking whether gs is running successfully or not"
sleep 15
sh $WORKDIR/../checkprocess.sh $WORKDIR/gsx.pid gs
if [ $? -ne 0 ]; then
echo "start gs failed. gs is not running!!!"
exit -1
fi
echo "waiting 15s for checking whether gs is running successfully or not"
sleep 15
sh $WORKDIR/../checkprocess.sh $WORKDIR/gsx.pid gs
if [ $? -ne 0 ]; then
echo "start gs failed. gs is not running!!!"
exit -1
fi