Upgrade.sh : Add diff command for config update (#308)

* Add diff command for config update

* Add Context Information

"Updating Configuration File..."

* Modify context information for the config file
pull/311/head
SVNET Libre 2018-02-21 17:16:52 +01:00 committed by Chocobozzz
parent 40aa7157e2
commit 34333925d2
1 changed files with 3 additions and 0 deletions

View File

@ -23,4 +23,7 @@ cd /var/www/peertube/peertube-latest
yarn install --production --pure-lockfile yarn install --production --pure-lockfile
cp /var/www/peertube/peertube-latest/config/default.yaml /var/www/peertube/config/default.yaml cp /var/www/peertube/peertube-latest/config/default.yaml /var/www/peertube/config/default.yaml
echo "Differences in configuration files..."
diff /var/www/peertube/versions/peertube-${VERSION}/config/production.yaml.example /var/www/peertube/config/production.yaml
exit 0 exit 0