From 05f9283098bccc07ec37995a09f92f6ebcb22d10 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Thu, 20 Jul 2006 12:26:10 +0000 Subject: [PATCH] Allow infocenter time to recover after update --- releng/org.eclipse.rse.releng.infocenter/update.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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"