diff --git a/releng/org.eclipse.rse.releng.infocenter/update.sh b/releng/org.eclipse.rse.releng.infocenter/update.sh index 65bfe55aea0..ac87fb55988 100755 --- a/releng/org.eclipse.rse.releng.infocenter/update.sh +++ b/releng/org.eclipse.rse.releng.infocenter/update.sh @@ -41,12 +41,13 @@ if [ "$NEED_RESTART" != "0" ]; then cd $IHOME echo "Restarting infocenter..." nohup $IHOME/bin/infocenter.sh start & + echo "Waiting for Infocenter / Apache to come up [60 seconds]" + sleep 60 echo "Doing fake search to force rebuilding index" - sleep 5 - wget "http://localhost/help/latest/advanced/searchView.jsp?searchWord=SystemBasePlugin&maxHits=2" -O search.out.jsp + wget "http://localhost/help/latest/advanced/searchView.jsp?searchWord=SystemBasePlugin&maxHits=2" -O search.out.jsp -t 3 --waitretry=30 echo "Done, index should be up again!" else echo "Nothing new deployed, no restart necessary." fi -cd "$curdir" \ No newline at end of file +cd "$curdir"