CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade.
-use clearstatcache function
This commit is contained in:
parent
5059d13156
commit
8493180243
2 changed files with 11 additions and 0 deletions
|
@ -82,6 +82,11 @@ if [ "$web" = "t" ]; then
|
|||
rm -rf "/usr/share/airtime"
|
||||
mkdir -p /usr/share/airtime
|
||||
cp -R $AIRTIMEROOT/airtime_mvc/* /usr/share/airtime/
|
||||
|
||||
#Clear stat cache, and remove the script after running it.
|
||||
curl http://localhost/install/clearstatcache.php
|
||||
rm -f /usr/share/airtime/public/install/clearstatcache.php
|
||||
rmdir -f /usr/share/airtime/public/install
|
||||
fi
|
||||
|
||||
echo "* Creating /var/log/airtime"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue