Don't stop cron tasks during update (it also stops the broadcast services), add update script info to readme.

This commit is contained in:
Buster Silver 2016-05-17 04:00:16 -05:00
parent d25e3a0b4f
commit efa9c144b5
2 changed files with 11 additions and 2 deletions

View File

@ -33,6 +33,17 @@ chmod a+x install.sh
./install.sh
```
### Updating
AzuraCast also includes a handy updater script that pulls down the latest copy of the codebase from Git, flushes the site caches and makes any necessary database updates. You should also run this script as the `root` user.
```bash
cd /var/azuracast/www
chmod a+x update.sh
./update.sh
```
## Local Development with Vagrant
This application supports **Vagrant** for local development and testing before launching a production station.

View File

@ -10,7 +10,6 @@ export util_base=$www_base/util
export tmp_base=$app_base/www_tmp
# Stop system tasks
service cron stop
service nginx stop
service php5-fpm stop
@ -28,6 +27,5 @@ phpuser cli.php cache:clear
phpuser doctrine.php orm:schema-tool:update --force
# Restart services
service cron start
service php5-fpm start
service nginx start