1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-08 09:35:23 +02:00

Allow infocenter time to recover after update

This commit is contained in:
Martin Oberhuber 2006-07-20 12:26:10 +00:00
parent 2822610c1c
commit 05f9283098

View file

@ -41,9 +41,10 @@ if [ "$NEED_RESTART" != "0" ]; then
cd $IHOME cd $IHOME
echo "Restarting infocenter..." echo "Restarting infocenter..."
nohup $IHOME/bin/infocenter.sh start & 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" 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 -t 3 --waitretry=30
wget "http://localhost/help/latest/advanced/searchView.jsp?searchWord=SystemBasePlugin&maxHits=2" -O search.out.jsp
echo "Done, index should be up again!" echo "Done, index should be up again!"
else else
echo "Nothing new deployed, no restart necessary." echo "Nothing new deployed, no restart necessary."